summaryrefslogtreecommitdiffstats
path: root/quantum/keymap_common.c
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-04-17 05:15:40 +0200
committerJack Humbert <jack.humb@gmail.com>2016-04-17 05:15:40 +0200
commite7b9959819e709d7df2e96a94bdaf36e4e9e23e3 (patch)
tree648db4eeb6a51675e917eef36ec439313ec2f1c8 /quantum/keymap_common.c
parent720e67e55838de6811b9feee2e01f8b31b5df120 (diff)
parent45f10b4c4b308226fa1568277654a13853a03ab4 (diff)
downloadqmk_firmware-e7b9959819e709d7df2e96a94bdaf36e4e9e23e3.tar.gz
qmk_firmware-e7b9959819e709d7df2e96a94bdaf36e4e9e23e3.tar.xz
no need for length of play_notes array with macro
Diffstat (limited to 'quantum/keymap_common.c')
-rw-r--r--quantum/keymap_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/quantum/keymap_common.c b/quantum/keymap_common.c
index 8f35521a2..02d3c74be 100644
--- a/quantum/keymap_common.c
+++ b/quantum/keymap_common.c
@@ -191,7 +191,7 @@ static action_t keycode_to_action(uint16_t keycode)
case RESET: ; // RESET is 0x5000, which is why this is here
clear_keyboard();
#ifdef AUDIO_ENABLE
- play_notes(&goodbye_tune, false, 0);
+ PLAY_NOTE_ARRAY(goodbye_tune, false, 0);
#endif
_delay_ms(250);
#ifdef ATREUS_ASTAR
@@ -204,7 +204,7 @@ static action_t keycode_to_action(uint16_t keycode)
debug_enable = true;
break;
case 0x5002 ... 0x50FF:
- // MAGIC actions (BOOTMAGIC without the boot)
+ // MAGIC actions (BOOTMAGIC without the boot)
if (!eeconfig_is_enabled()) {
eeconfig_init();
}