diff options
Diffstat (limited to 'examples/blinky.cpp')
-rw-r--r-- | examples/blinky.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/blinky.cpp b/examples/blinky.cpp index 209a6e6..5611987 100644 --- a/examples/blinky.cpp +++ b/examples/blinky.cpp @@ -1,4 +1,4 @@ -// Blinks the built-in LED
+// Blinks the LED, pin 13
#include "wirish.h"
@@ -20,8 +20,8 @@ void loop() { }
// Force init to be called *first*, i.e. before static object allocation.
-// Otherwise, statically allocated objects that need libmaple may fail.
-__attribute__((constructor)) void premain() {
+// Otherwise, statically allocated object that need libmaple may fail.
+ __attribute__(( constructor )) void premain() {
init();
}
|