Skip to content

Commit 2730cc0

Browse files
committed
samd: Arduino "boolean" type is now mapped on "bool"
1 parent 41f8bf4 commit 2730cc0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

cores/arduino/wiring_constants.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,8 @@ typedef unsigned int word;
9696

9797
#define bit(b) (1UL << (b))
9898

99-
// TODO: to be checked
100-
typedef uint8_t boolean ;
101-
typedef uint8_t byte ;
99+
typedef bool boolean;
100+
typedef uint8_t byte;
102101

103102
#ifdef __cplusplus
104103
} // extern "C"

0 commit comments

Comments
 (0)