summaryrefslogtreecommitdiff
path: root/src/system.cc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2016-01-16 18:55:40 +0100
committerDaniel Friesel <derf@finalrewind.org>2016-01-16 18:55:40 +0100
commitcd52b9a6b0272466f414ce4802ce50a0ec38dd29 (patch)
treeb68e8c8910053165322ed150a88f7047532acf19 /src/system.cc
parent69b343aac3dce2ac87830ce5181eea8d11144de2 (diff)
display: rename turn_on/off to enable/disable, move setup code from main to enable
Diffstat (limited to 'src/system.cc')
-rw-r--r--src/system.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/system.cc b/src/system.cc
index b98e687..09c0f53 100644
--- a/src/system.cc
+++ b/src/system.cc
@@ -32,7 +32,7 @@ void System::loop()
else {
// turn off display to indicate we're about to shut down
- display.turn_off();
+ display.disable();
modem.disable();
@@ -57,7 +57,7 @@ void System::loop()
PCMSK1 &= ~(_BV(PCINT15) | _BV(PCINT11));
// turn on display
- display.turn_on();
+ display.enable();
// ... and modem
modem.enable();