Skip to content

Commit 143ffee

Browse files
committed
Arduino custom type boolean is now mapped to bool type
Fixes arduino#2151 Fixes arduino#2147
1 parent 4a3bc69 commit 143ffee

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cores/arduino/wiring_constants.h

+1-3
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,9 @@ typedef unsigned int word;
9292

9393
#define bit(b) (1UL << (b))
9494

95-
// TODO: to be checked
96-
typedef uint8_t boolean ;
95+
typedef bool boolean ;
9796
typedef uint8_t byte ;
9897

99-
10098
#ifdef __cplusplus
10199
} // extern "C"
102100
#endif // __cplusplus

0 commit comments

Comments
 (0)