diff options
author | Daniel Friesel <derf@finalrewind.org> | 2016-01-14 20:57:46 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2016-01-14 20:57:46 +0100 |
commit | ff61107b89ddeee39a32a94182a4bdeeabebf7fb (patch) | |
tree | d9ffc3bf3f89279bb3c609e7f8d57dec88bb9f6b /main.cc | |
parent | 4399a137a900a7d4bcbc862d85c87c92dd27d89b (diff) |
avoid 'system' name clash in some avr-libc versions
Diffstat (limited to 'main.cc')
-rw-r--r-- | main.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |