Skip to content

Commit

Permalink
Merge pull request #116 from Normalised/master
Browse files Browse the repository at this point in the history
Use the right names for quantise options.
  • Loading branch information
Martin Wood-Mitrovski authored Jun 19, 2017
2 parents 79523a3 + c61f162 commit a81090f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions RadioMusic/RadioMusic.ino
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,8 @@ uint16_t checkInterface() {
if(resetTriggered) {
if((changes & CHANNEL_CHANGED) || playState.nextChannel != playState.currentChannel) {
playState.channelChanged = true;
} else {
resetLedTimer = 0;
}
}

Expand Down
4 changes: 2 additions & 2 deletions RadioMusic/Settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,10 @@ void Settings::applySetting(String settingName, String settingValue) {
loopMode = settingValue.toInt();
}

if(settingName.equalsIgnoreCase("quantiseNoteCV") || settingName.equalsIgnoreCase("quantizeNoteCV")) {
if(settingName.equalsIgnoreCase("quantiseNoteCV") || settingName.equalsIgnoreCase("quantizeRootCV")) {
quantiseRootCV = toBoolean(settingValue);
}
if(settingName.equalsIgnoreCase("quantiseNotePot") || settingName.equalsIgnoreCase("quantizeNotePot")) {
if(settingName.equalsIgnoreCase("quantiseNotePot") || settingName.equalsIgnoreCase("quantizeRootPot")) {
quantiseRootPot = toBoolean(settingValue);
}

Expand Down

0 comments on commit a81090f

Please sign in to comment.