X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=keyboards%2Fnyquist%2Frev1%2Frev1.c;h=5f4cd32f695e782ef131025ceb6282dfec9aa2e0;hb=994852712dbd183e2c764d624ae8ba7d3efb385a;hp=80780831f3a94781a419c596be8b4fd156603dfb;hpb=fe60cbd928f2535a5cbc0b29c29397374ec91ac1;p=qmk_firmware.git diff --git a/keyboards/nyquist/rev1/rev1.c b/keyboards/nyquist/rev1/rev1.c index 80780831f..5f4cd32f6 100644 --- a/keyboards/nyquist/rev1/rev1.c +++ b/keyboards/nyquist/rev1/rev1.c @@ -1,9 +1,4 @@ -#include "nyquist.h" - -#ifdef AUDIO_ENABLE - float tone_startup[][2] = SONG(STARTUP_SOUND); - float tone_goodbye[][2] = SONG(GOODBYE_SOUND); -#endif +#include "rev1.h" #ifdef SSD1306OLED void led_set_kb(uint8_t usb_led) { @@ -14,11 +9,6 @@ void led_set_kb(uint8_t usb_led) { void matrix_init_kb(void) { - #ifdef AUDIO_ENABLE - _delay_ms(20); // gets rid of tick - PLAY_SONG(tone_startup); - #endif - // // green led on // DDRD |= (1<<5); // PORTD &= ~(1<<5); @@ -30,10 +20,3 @@ void matrix_init_kb(void) { matrix_init_user(); }; -void shutdown_user(void) { - #ifdef AUDIO_ENABLE - PLAY_SONG(tone_goodbye); - _delay_ms(150); - stop_all_notes(); - #endif -}