aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/sdc_lld.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/platforms/STM32/sdc_lld.c')
-rw-r--r--os/hal/platforms/STM32/sdc_lld.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/os/hal/platforms/STM32/sdc_lld.c b/os/hal/platforms/STM32/sdc_lld.c
index 0c535e2dc..c42867ffe 100644
--- a/os/hal/platforms/STM32/sdc_lld.c
+++ b/os/hal/platforms/STM32/sdc_lld.c
@@ -755,19 +755,6 @@ bool_t sdc_lld_write(SDCDriver *sdcp, uint32_t startblk,
return sdc_lld_write_aligned(sdcp, startblk, buf, n);
}
-/**
- * @brief Get errors from SDC driver and clear error field.
- *
- * @param[in] sdcp pointer to the @p SDCDriver object
- *
- * @notapi
- */
-sdcflags_t sdc_lld_get_and_clear_errors(SDCDriver *sdcp) {
- sdcflags_t flags = sdcp->errors;
- sdcp->errors = SDC_NO_ERROR;
- return flags;
-}
-
#endif /* HAL_USE_SDC */
/** @} */