mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
Arduino custom type boolean is now mapped to bool type
Fixes #2151 Fixes #2147
This commit is contained in:
@ -114,7 +114,7 @@ typedef unsigned int word;
|
|||||||
|
|
||||||
#define bit(b) (1UL << (b))
|
#define bit(b) (1UL << (b))
|
||||||
|
|
||||||
typedef uint8_t boolean;
|
typedef bool boolean;
|
||||||
typedef uint8_t byte;
|
typedef uint8_t byte;
|
||||||
|
|
||||||
void init(void);
|
void init(void);
|
||||||
|
@ -92,11 +92,9 @@ typedef unsigned int word;
|
|||||||
|
|
||||||
#define bit(b) (1UL << (b))
|
#define bit(b) (1UL << (b))
|
||||||
|
|
||||||
// TODO: to be checked
|
typedef bool boolean ;
|
||||||
typedef uint8_t boolean ;
|
|
||||||
typedef uint8_t byte ;
|
typedef uint8_t byte ;
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
} // extern "C"
|
} // extern "C"
|
||||||
#endif // __cplusplus
|
#endif // __cplusplus
|
||||||
|
Reference in New Issue
Block a user