From 17db7a7843c89016ad03407c074d08a59ee62628 Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Wed, 7 Jan 2015 14:56:19 +0100 Subject: [PATCH] Arduino custom type boolean is now mapped to bool type Fixes #2151 Fixes #2147 --- cores/arduino/Arduino.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);