aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/Arduino.h
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@bug.st>2015-01-07 14:56:19 +0100
committerCristian Maglie <c.maglie@bug.st>2015-01-07 14:56:19 +0100
commit17db7a7843c89016ad03407c074d08a59ee62628 (patch)
treea150fe38f72833030e531af18313f4135b05c652 /cores/arduino/Arduino.h
parent3ba0d76024b6ba66cbd0ff4f4cce64d0b16b4ea9 (diff)
Arduino custom type boolean is now mapped to bool type
Fixes #2151 Fixes #2147
Diffstat (limited to 'cores/arduino/Arduino.h')
-rw-r--r--cores/arduino/Arduino.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/Arduino.h b/cores/arduino/Arduino.h
index ac775f1..16dd759 100644
--- a/cores/arduino/Arduino.h
+++ b/cores/arduino/Arduino.h
@@ -114,7 +114,7 @@ typedef unsigned int word;
#define bit(b) (1UL << (b))
-typedef uint8_t boolean;
+typedef bool boolean;
typedef uint8_t byte;
void init(void);