From b87a0f12b030a22eea609262d34e9991e08626ad Mon Sep 17 00:00:00 2001 From: Oleg Hahm <oleg@hobbykeller.org> Date: Sat, 28 Nov 2015 12:46:09 +0100 Subject: [PATCH] arduino header: fix pedantic compiler warnings --- sys/arduino/include/arduino.hpp | 4 ++-- sys/arduino/include/serialport.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arduino/include/arduino.hpp b/sys/arduino/include/arduino.hpp index 585a8ef004..883564e1fc 100644 --- a/sys/arduino/include/arduino.hpp +++ b/sys/arduino/include/arduino.hpp @@ -34,7 +34,7 @@ extern "C" { enum { INPUT, /**< configure pin as input */ OUTPUT, /**< configure pin as output */ - INPUT_PULLUP, /**< configure pin as input with pull-up resistor */ + INPUT_PULLUP /**< configure pin as input with pull-up resistor */ }; /** @@ -42,7 +42,7 @@ enum { */ enum { LOW = 0, /**< pin is cleared */ - HIGH = 1, /**< pin is set */ + HIGH = 1 /**< pin is set */ }; /** diff --git a/sys/arduino/include/serialport.hpp b/sys/arduino/include/serialport.hpp index 6acbb49456..36cc7167a4 100644 --- a/sys/arduino/include/serialport.hpp +++ b/sys/arduino/include/serialport.hpp @@ -36,7 +36,7 @@ enum SerialFormat { BIN, /**< format to binary representation */ OCT, /**< format to octal representation */ DEC, /**< format to decimal representation */ - HEX, /**< format to hex representation */ + HEX /**< format to hex representation */ }; /** -- GitLab