aboutsummaryrefslogtreecommitdiff
path: root/quantum/keymap_common.c
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2016-04-16 23:15:40 -0400
committerJack Humbert <jack.humb@gmail.com>2016-04-16 23:15:40 -0400
commite7b9959819e709d7df2e96a94bdaf36e4e9e23e3 (patch)
tree648db4eeb6a51675e917eef36ec439313ec2f1c8 /quantum/keymap_common.c
parent720e67e55838de6811b9feee2e01f8b31b5df120 (diff)
parent45f10b4c4b308226fa1568277654a13853a03ab4 (diff)
downloadqmk_firmware-e7b9959819e709d7df2e96a94bdaf36e4e9e23e3.tar.gz
qmk_firmware-e7b9959819e709d7df2e96a94bdaf36e4e9e23e3.zip
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)
191 case RESET: ; // RESET is 0x5000, which is why this is here 191 case RESET: ; // RESET is 0x5000, which is why this is here
192 clear_keyboard(); 192 clear_keyboard();
193 #ifdef AUDIO_ENABLE 193 #ifdef AUDIO_ENABLE
194 play_notes(&goodbye_tune, false, 0); 194 PLAY_NOTE_ARRAY(goodbye_tune, false, 0);
195 #endif 195 #endif
196 _delay_ms(250); 196 _delay_ms(250);
197 #ifdef ATREUS_ASTAR 197 #ifdef ATREUS_ASTAR
@@ -204,7 +204,7 @@ static action_t keycode_to_action(uint16_t keycode)
204 debug_enable = true; 204 debug_enable = true;
205 break; 205 break;
206 case 0x5002 ... 0x50FF: 206 case 0x5002 ... 0x50FF:
207 // MAGIC actions (BOOTMAGIC without the boot) 207 // MAGIC actions (BOOTMAGIC without the boot)
208 if (!eeconfig_is_enabled()) { 208 if (!eeconfig_is_enabled()) {
209 eeconfig_init(); 209 eeconfig_init();
210 } 210 }