summaryrefslogtreecommitdiff
path: root/src/system.cc
diff options
context:
space:
mode:
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();