diff options
author | Paul Selkirk <paul@psgd.org> | 2016-05-24 21:37:39 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2016-05-24 21:37:39 -0400 |
commit | d20ac4036667e9cbf41c4a8011e53ca53a5a2a64 (patch) | |
tree | 905a5cbdf1c6fa5114ab11932ae7550b935c0599 | |
parent | 8a168b38da2114e5c9f5f5e0c719672021bab17b (diff) |
Work around the fact that stm-fmc.h now pulls in CMSIS HAL symbols.
-rw-r--r-- | hal_io_fmc.c | 4 |
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" |