diff options
Diffstat (limited to 'keyboards/iris/rev2/rev2.c')
| -rw-r--r-- | keyboards/iris/rev2/rev2.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/keyboards/iris/rev2/rev2.c b/keyboards/iris/rev2/rev2.c index d0a3c771f..fb53f283e 100644 --- a/keyboards/iris/rev2/rev2.c +++ b/keyboards/iris/rev2/rev2.c | |||
| @@ -1,10 +1,5 @@ | |||
| 1 | #include "rev2.h" | 1 | #include "rev2.h" |
| 2 | 2 | ||
| 3 | #ifdef AUDIO_ENABLE | ||
| 4 | float tone_startup[][2] = SONG(STARTUP_SOUND); | ||
| 5 | float tone_goodbye[][2] = SONG(GOODBYE_SOUND); | ||
| 6 | #endif | ||
| 7 | |||
| 8 | #ifdef SSD1306OLED | 3 | #ifdef SSD1306OLED |
| 9 | void led_set_kb(uint8_t usb_led) { | 4 | void led_set_kb(uint8_t usb_led) { |
| 10 | // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here | 5 | // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here |
| @@ -14,11 +9,6 @@ void led_set_kb(uint8_t usb_led) { | |||
| 14 | 9 | ||
| 15 | void matrix_init_kb(void) { | 10 | void matrix_init_kb(void) { |
| 16 | 11 | ||
| 17 | #ifdef AUDIO_ENABLE | ||
| 18 | _delay_ms(20); // gets rid of tick | ||
| 19 | PLAY_SONG(tone_startup); | ||
| 20 | #endif | ||
| 21 | |||
| 22 | // // green led on | 12 | // // green led on |
| 23 | // DDRD |= (1<<5); | 13 | // DDRD |= (1<<5); |
| 24 | // PORTD &= ~(1<<5); | 14 | // PORTD &= ~(1<<5); |
| @@ -30,10 +20,3 @@ void matrix_init_kb(void) { | |||
| 30 | matrix_init_user(); | 20 | matrix_init_user(); |
| 31 | }; | 21 | }; |
| 32 | 22 | ||
| 33 | void shutdown_user(void) { | ||
| 34 | #ifdef AUDIO_ENABLE | ||
| 35 | PLAY_SONG(tone_goodbye); | ||
| 36 | _delay_ms(150); | ||
| 37 | stop_all_notes(); | ||
| 38 | #endif | ||
| 39 | } | ||
