diff options
Diffstat (limited to 'keyboards/helix/rev2/rev2.c')
-rw-r--r-- | keyboards/helix/rev2/rev2.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/keyboards/helix/rev2/rev2.c b/keyboards/helix/rev2/rev2.c index 1b23edb79..75765f1d3 100644 --- a/keyboards/helix/rev2/rev2.c +++ b/keyboards/helix/rev2/rev2.c | |||
@@ -1,11 +1,6 @@ | |||
1 | #include "helix.h" | 1 | #include "helix.h" |
2 | 2 | ||
3 | 3 | ||
4 | #ifdef AUDIO_ENABLE | ||
5 | float tone_startup[][2] = SONG(STARTUP_SOUND); | ||
6 | float tone_goodbye[][2] = SONG(GOODBYE_SOUND); | ||
7 | #endif | ||
8 | |||
9 | #ifdef SSD1306OLED | 4 | #ifdef SSD1306OLED |
10 | void led_set_kb(uint8_t usb_led) { | 5 | void led_set_kb(uint8_t usb_led) { |
11 | // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here | 6 | // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here |
@@ -15,18 +10,6 @@ void led_set_kb(uint8_t usb_led) { | |||
15 | 10 | ||
16 | void matrix_init_kb(void) { | 11 | void matrix_init_kb(void) { |
17 | 12 | ||
18 | #ifdef AUDIO_ENABLE | ||
19 | _delay_ms(20); // gets rid of tick | ||
20 | PLAY_SONG(tone_startup); | ||
21 | #endif | ||
22 | |||
23 | matrix_init_user(); | 13 | matrix_init_user(); |
24 | }; | 14 | }; |
25 | 15 | ||
26 | void shutdown_kb(void) { | ||
27 | #ifdef AUDIO_ENABLE | ||
28 | PLAY_SONG(tone_goodbye); | ||
29 | _delay_ms(150); | ||
30 | stop_all_notes(); | ||
31 | #endif | ||
32 | } | ||