Skip to content

Commit

Permalink
Fix wrong old_preset_led index
Browse files Browse the repository at this point in the history
  • Loading branch information
garubi committed Nov 15, 2018
1 parent c4d0c2f commit e93a434
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion D9-drawbars-controller.ino
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ void changePreset( byte btn_scanned ){
resetToDefaultData();

DEBUGFN( NAMEDVALUE(curr_preset) );
old_preset_led = btn_scanned +1;
old_preset_led = btn_scanned;
}
else{
DEBUGFN("CAN'T CHANGE preset: preset location empty");
Expand Down

0 comments on commit e93a434

Please sign in to comment.