From ff61107b89ddeee39a32a94182a4bdeeabebf7fb Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 14 Jan 2016 20:57:46 +0100 Subject: avoid 'system' name clash in some avr-libc versions --- main.cc | 4 ++-- 1 file 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; -- cgit v1.2.3