summaryrefslogtreecommitdiffstats
path: root/quantum
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-01-20 02:09:03 +0000
committerQMK Bot <hello@qmk.fm>2021-01-20 02:09:03 +0000
commit6328c25573d44883a3c76b48e0a9c8acd3e5510f (patch)
tree13e22700f51e6a3b0d00058cff89c169f2edabef /quantum
parent08573213176befa873f8fcd6a55ee2d3795906e1 (diff)
parent71f067a60ef01df6a58c086a939a58e40ab7e972 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'quantum')
-rw-r--r--quantum/process_keycode/process_music.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/process_keycode/process_music.c b/quantum/process_keycode/process_music.c
index b61a16e878..eb06be96c2 100644
--- a/quantum/process_keycode/process_music.c
+++ b/quantum/process_keycode/process_music.c
@@ -191,7 +191,7 @@ bool process_music(uint16_t keycode, keyrecord_t *record) {
note = music_starting_note + music_offset + 36 + music_map[record->event.key.row][record->event.key.col];
} else {
uint8_t position = music_map[record->event.key.row][record->event.key.col];
- note = music_starting_note + music_offset + 36 + SCALE[position % 12] + (position / 12) * 12;
+ note = music_starting_note + music_offset + 36 + SCALE[position % 7] + (position / 7) * 12;
}
# else
if (music_mode == MUSIC_MODE_CHROMATIC)