aboutsummaryrefslogtreecommitdiff
path: root/hal_io_fmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'hal_io_fmc.c')
-rw-r--r--hal_io_fmc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hal_io_fmc.c b/hal_io_fmc.c
index 9dd3578..5742e56 100644
--- a/hal_io_fmc.c
+++ b/hal_io_fmc.c
@@ -37,6 +37,10 @@
#include <stdint.h>
#include "stm-fmc.h"
+
+/* stm32f4xx_hal_def.h and hal.h both define HAL_OK as an enum value */
+#define HAL_OK HAL_OKAY
+
#include "hal.h"
#include "hal_internal.h"