From 27552157e3adbc03346c5c9a55c1a535d564eb8f Mon Sep 17 00:00:00 2001 From: Thibaut VIARD <thibaut.viard@atmel.com> Date: Mon, 12 May 2014 23:47:27 +0200 Subject: [PATCH] Doing cosmetics --- cores/arduino/Arduino.h | 4 ++-- cores/arduino/main.cpp | 24 ++++++++++++------------ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/cores/arduino/Arduino.h b/cores/arduino/Arduino.h index d8096124..05c02a9c 100644 --- a/cores/arduino/Arduino.h +++ b/cores/arduino/Arduino.h @@ -50,8 +50,8 @@ extern "C"{ void yield( void ) ; /* sketch */ -extern void setup( void ) ; -extern void loop( void ) ; +void setup( void ) ; +void loop( void ) ; #define NOT_AN_INTERRUPT -1 diff --git a/cores/arduino/main.cpp b/cores/arduino/main.cpp index ae1eee26..56e05362 100644 --- a/cores/arduino/main.cpp +++ b/cores/arduino/main.cpp @@ -25,21 +25,21 @@ */ int main( void ) { - init(); + init(); - delay(1); + delay(1); -//#if defined(USBCON) -// USBDevice.attach(); -//#endif +#if defined(USBCON) +// USBDevice.attach(); +#endif - setup(); + setup(); - for (;;) - { - loop(); - if (serialEventRun) serialEventRun(); - } + for (;;) + { + loop(); + if (serialEventRun) serialEventRun(); + } - return 0; + return 0; } -- GitLab