diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-06-02 09:54:57 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-06-02 09:54:57 +0000 |
commit | 10ff25a6d35e23728ebb5f42788975452d8978a4 (patch) | |
tree | d41a513040c7f0c62dae922a2c96d0c7d0cc89e2 /ports | |
parent | 26ba1c43bbc3202354525a8e6c573d2a9f34fc50 (diff) | |
download | ChibiOS-10ff25a6d35e23728ebb5f42788975452d8978a4.tar.gz ChibiOS-10ff25a6d35e23728ebb5f42788975452d8978a4.tar.bz2 ChibiOS-10ff25a6d35e23728ebb5f42788975452d8978a4.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1013 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'ports')
-rw-r--r-- | ports/ARMCM3-STM32F103/ioports_lld.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ports/ARMCM3-STM32F103/ioports_lld.h b/ports/ARMCM3-STM32F103/ioports_lld.h index 05d71831d..2194c3869 100644 --- a/ports/ARMCM3-STM32F103/ioports_lld.h +++ b/ports/ARMCM3-STM32F103/ioports_lld.h @@ -27,8 +27,16 @@ #ifndef _IOPORTS_LLD_H_
#define _IOPORTS_LLD_H_
+/*
+ * 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
/*===========================================================================*/
|