Arduino custom type boolean is now mapped to bool type

Fixes #2151
Fixes #2147
This commit is contained in:
Cristian Maglie 2015-01-07 14:56:19 +01:00
parent 863cb417a6
commit 20ac20f629
2 changed files with 2 additions and 4 deletions

View File

@ -114,7 +114,7 @@ typedef unsigned int word;
#define bit(b) (1UL << (b))
typedef uint8_t boolean;
typedef bool boolean;
typedef uint8_t byte;
void init(void);

View File

@ -92,11 +92,9 @@ typedef unsigned int word;
#define bit(b) (1UL << (b))
// TODO: to be checked
typedef uint8_t boolean ;
typedef bool boolean ;
typedef uint8_t byte ;
#ifdef __cplusplus
} // extern "C"
#endif // __cplusplus