1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-17 12:02:15 +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:
Earle F. Philhower, III
2019-02-07 03:31:39 +00:00
committed by Develo
parent f706c83b66
commit e74b1e590b

View File

@ -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);