diff options
author | Daniel Friesel <derf@finalrewind.org> | 2016-01-16 18:55:40 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2016-01-16 18:55:40 +0100 |
commit | cd52b9a6b0272466f414ce4802ce50a0ec38dd29 (patch) | |
tree | b68e8c8910053165322ed150a88f7047532acf19 /src/system.cc | |
parent | 69b343aac3dce2ac87830ce5181eea8d11144de2 (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.cc | 4 |
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(); |