From 2730cc05522e850a52fffda2e1183da26894673a Mon Sep 17 00:00:00 2001 From: Cristian Maglie <c.maglie@arduino.cc> Date: Wed, 14 Jan 2015 00:35:52 +0100 Subject: [PATCH] samd: Arduino "boolean" type is now mapped on "bool" --- cores/arduino/wiring_constants.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cores/arduino/wiring_constants.h b/cores/arduino/wiring_constants.h index 3915c226..94d6cfba 100644 --- a/cores/arduino/wiring_constants.h +++ b/cores/arduino/wiring_constants.h @@ -96,9 +96,8 @@ typedef unsigned int word; #define bit(b) (1UL << (b)) -// TODO: to be checked -typedef uint8_t boolean ; -typedef uint8_t byte ; +typedef bool boolean; +typedef uint8_t byte; #ifdef __cplusplus } // extern "C" -- GitLab