Skip to content

Commit

Permalink
Turn off serial mode when starting up with low power mode forced enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
gbevin committed May 17, 2016
1 parent 2a665be commit aecf3a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion linnstrument-firmware.ino
Original file line number Diff line number Diff line change
Expand Up @@ -1073,8 +1073,9 @@ void setup() {
// detect if low power mode is toggled by holding down the octave/transpose button at startup
if (switchPressAtStartup(4)) {
Device.operatingLowPower = true;
cellTouched(0, 4, touchedCell);
Device.serialMode = false;
storeSettings();
cellTouched(0, 4, touchedCell);
}

applyLowPowerMode();
Expand Down

0 comments on commit aecf3a6

Please sign in to comment.