summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-01-14 20:57:46 +0100
committerDaniel Friesel <derf@finalrewind.org>2016-01-14 20:57:46 +0100
commitff61107b89ddeee39a32a94182a4bdeeabebf7fb (patch)
treed9ffc3bf3f89279bb3c609e7f8d57dec88bb9f6b
parent4399a137a900a7d4bcbc862d85c87c92dd27d89b (diff)
avoid 'system' name clash in some avr-libc versions
-rw-r--r--main.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.cc b/main.cc
index ee80936..c51483d 100644
--- a/main.cc
+++ b/main.cc
@@ -26,7 +26,7 @@ class Display {
void turn_off(void);
};
-System system;
+System rocket;
Display display;
void Display::turn_off()
@@ -164,7 +164,7 @@ int main (void)
// nothing to do here, go to idle to save power
SMCR = _BV(SE);
asm("sleep");
- system.loop();
+ rocket.loop();
}
return 0;