mirror of
https://github.com/esp8266/Arduino.git
synced 2025-09-05 08:04:28 +03:00
Use "bool" for "boolean" type (#5693)
Match current Arduino definition to avoid issues with comparison
operations.
https://github.com/arduino/Arduino/issues/2147
20ac20f629
Fixes #5440
This commit is contained in:
committed by
Develo
parent
f706c83b66
commit
e74b1e590b
@@ -188,7 +188,7 @@ typedef uint16_t word;
|
|||||||
#define bit(b) (1UL << (b))
|
#define bit(b) (1UL << (b))
|
||||||
#define _BV(b) (1UL << (b))
|
#define _BV(b) (1UL << (b))
|
||||||
|
|
||||||
typedef uint8_t boolean;
|
typedef bool boolean;
|
||||||
typedef uint8_t byte;
|
typedef uint8_t byte;
|
||||||
|
|
||||||
void init(void);
|
void init(void);
|
||||||
|
Reference in New Issue
Block a user