From 425e9e0895da15ccd357e83c481c241f0f330b9b Mon Sep 17 00:00:00 2001 From: Roger Clark Date: Wed, 18 Mar 2015 20:39:17 +1100 Subject: [PATCH] Added bool type, typedefed to boolean. Also found error where unit8 had been typedefed to boolean and then re-typedefed to byte - which has now been fixed --- STM32F1/cores/maple/wirish_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/STM32F1/cores/maple/wirish_types.h b/STM32F1/cores/maple/wirish_types.h index 9a60fb3..f1ae4a0 100644 --- a/STM32F1/cores/maple/wirish_types.h +++ b/STM32F1/cores/maple/wirish_types.h @@ -63,7 +63,7 @@ typedef struct stm32_pin_info { * variable in Flash instead of RAM. */ #define __FLASH__ __attr_flash -typedef uint8 boolean; +typedef bool boolean; typedef uint8 byte; #endif