diff options
| author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-03-04 20:25:26 -0500 |
|---|---|---|
| committer | Marti Bolivar <mbolivar@leaflabs.com> | 2011-03-04 23:16:32 -0500 |
| commit | f217acb73d94f0a88bf33a42684e6e988dcb3685 (patch) | |
| tree | 7f76c4f16b889302aaeba18a741226d041e60ad1 /examples/blinky.cpp | |
| parent | c4ba3ba05fc39ef260cd80d91759966952df74ae (diff) | |
Brought examples/ up to date; PIN_MAP bugfix for D24.
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 5611987..209a6e6 100644 --- a/examples/blinky.cpp +++ b/examples/blinky.cpp @@ -1,4 +1,4 @@ -// Blinks the LED, pin 13
+// Blinks the built-in LED
#include "wirish.h"
@@ -20,8 +20,8 @@ void loop() { }
// Force init to be called *first*, i.e. before static object allocation.
-// Otherwise, statically allocated object that need libmaple may fail.
- __attribute__(( constructor )) void premain() {
+// Otherwise, statically allocated objects that need libmaple may fail.
+__attribute__((constructor)) void premain() {
init();
}
|
