Skip to content

Commit

Permalink
Use "bool" for "boolean" type (esp8266#5693)
Browse files Browse the repository at this point in the history
Match current Arduino definition to avoid issues with comparison
operations.

arduino/Arduino#2147
arduino/Arduino@20ac20f

Fixes esp8266#5440
  • Loading branch information
earlephilhower authored and devyte committed Feb 7, 2019
1 parent f706c83 commit e74b1e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cores/esp8266/Arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ typedef uint16_t word;
#define bit(b) (1UL << (b))
#define _BV(b) (1UL << (b))

typedef uint8_t boolean;
typedef bool boolean;
typedef uint8_t byte;

void init(void);
Expand Down

0 comments on commit e74b1e5

Please sign in to comment.