aboutsummaryrefslogtreecommitdiffstats
path: root/ports/ARMCM3-STM32F103/stm32_serial.h
diff options
context:
space:
mode:
Diffstat (limited to 'ports/ARMCM3-STM32F103/stm32_serial.h')
-rw-r--r--ports/ARMCM3-STM32F103/stm32_serial.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/ports/ARMCM3-STM32F103/stm32_serial.h b/ports/ARMCM3-STM32F103/stm32_serial.h
index ffacd00b6..421cf00fe 100644
--- a/ports/ARMCM3-STM32F103/stm32_serial.h
+++ b/ports/ARMCM3-STM32F103/stm32_serial.h
@@ -31,13 +31,13 @@
* Tricks required to make the TRUE/FALSE declaration inside the library
* compatible.
*/
-//#ifndef __STM32F10x_MAP_H
-//#undef FALSE
-//#undef TRUE
-//#include "stm32f10x_map.h"
-//#define FALSE 0
-//#define TRUE (!FALSE)
-//#endif
+#ifndef __STM32F10x_H
+#undef FALSE
+#undef TRUE
+#include <stm32f10x.h>
+#define FALSE 0
+#define TRUE (!FALSE)
+#endif
/**
* @brief Serial buffers size.