Skip to content

Commit 91cc96b

Browse files
committed
Arduino custom type boolean is now mapped to bool type
Fixes #2151 Fixes #2147
1 parent 0e4e6c8 commit 91cc96b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hardware/arduino/avr/cores/arduino/Arduino.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ typedef unsigned int word;
114114

115115
#define bit(b) (1UL << (b))
116116

117-
typedef uint8_t boolean;
117+
typedef bool boolean;
118118
typedef uint8_t byte;
119119

120120
void init(void);

0 commit comments

Comments
 (0)