aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/hal/ports/STM32/STM32F0xx/stm32_registry.h2
-rw-r--r--os/various/fatfs_bindings/fatfs_syscall.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/ports/STM32/STM32F0xx/stm32_registry.h b/os/hal/ports/STM32/STM32F0xx/stm32_registry.h
index 741980b1f..1bc601d47 100644
--- a/os/hal/ports/STM32/STM32F0xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32F0xx/stm32_registry.h
@@ -1498,7 +1498,7 @@
/*===========================================================================*/
#elif defined(STM32F071xB) || defined(STM32F072xB) || \
defined(STM32F078xx)
-
+
/* RCC attributes. */
#define STM32_HAS_HSI48 TRUE
#define STM32_HAS_HSI_PREDIV TRUE
diff --git a/os/various/fatfs_bindings/fatfs_syscall.c b/os/various/fatfs_bindings/fatfs_syscall.c
index bfa169418..dbe569ee4 100644
--- a/os/various/fatfs_bindings/fatfs_syscall.c
+++ b/os/various/fatfs_bindings/fatfs_syscall.c
@@ -63,7 +63,7 @@ void ff_rel_grant(FF_SYNC_t sobj) {
chSemSignal(sobj);
}
-#endif /* _FS_REENTRANT */
+#endif /* FF_FS_REENTRANT */
#if FF_USE_LFN == 3 /* LFN with a working buffer on the heap */
/*------------------------------------------------------------------------*/
@@ -81,4 +81,4 @@ void ff_memfree(void *mblock) {
chHeapFree(mblock);
}
-#endif /* _USE_LFN == 3 */
+#endif /* FF_USE_LFN == 3 */