From 03933a5925ac71e4662d6152fad2237377a532cd Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 29 Nov 2009 11:34:24 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1356 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32/hal_lld.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'os') diff --git a/os/hal/platforms/STM32/hal_lld.h b/os/hal/platforms/STM32/hal_lld.h index fc29c2824..455a65b32 100644 --- a/os/hal/platforms/STM32/hal_lld.h +++ b/os/hal/platforms/STM32/hal_lld.h @@ -27,6 +27,16 @@ #ifndef _HAL_LLD_H_ #define _HAL_LLD_H_ +/* + * Tricks required to make the TRUE/FALSE declaration inside the library + * compatible. + */ +#undef FALSE +#undef TRUE +#include +#define FALSE 0 +#define TRUE (!FALSE) + #include "nvic.h" #include "stm32_dma.h" -- cgit v1.2.3