diff options
author | Drashna Jaelre <[email protected]> | 2019-07-28 10:56:35 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2019-07-28 10:56:35 -0700 |
commit | c9424eb8d7586ccc2d72014df7b2223cb2645588 (patch) | |
tree | 533212fe003d5b7529d5075e87cc12fb2a2beb56 /keyboards/crkbd/rev1/rev1.c | |
parent | bbdc82dd36a95c6bb8dafca6ca87c9e87d5bc315 (diff) | |
download | qmk_firmware-c9424eb8d7586ccc2d72014df7b2223cb2645588.tar.gz qmk_firmware-c9424eb8d7586ccc2d72014df7b2223cb2645588.zip |
[Keyboard] Fix up and clean Corne Keyboard code (#6284)
* Fix corne communication issues with LTO
* Fix up other issues with corne code
* Fix indentation
* Clang Format rev1 file for Corne
Diffstat (limited to 'keyboards/crkbd/rev1/rev1.c')
-rw-r--r-- | keyboards/crkbd/rev1/rev1.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/keyboards/crkbd/rev1/rev1.c b/keyboards/crkbd/rev1/rev1.c index b969b5e286..24800358d5 100644 --- a/keyboards/crkbd/rev1/rev1.c +++ b/keyboards/crkbd/rev1/rev1.c @@ -1,11 +1,6 @@ #include "crkbd.h" -#ifdef AUDIO_ENABLE - float tone_startup[][2] = SONG(STARTUP_SOUND); - float tone_goodbye[][2] = SONG(GOODBYE_SOUND); -#endif - #ifdef RGB_MATRIX_ENABLE // Logical Layout @@ -104,22 +99,4 @@ led_config_t g_led_config = { { 4, 4, 1, 1, 1 } }; #endif - #endif -void matrix_init_kb(void) { - - #ifdef AUDIO_ENABLE - _delay_ms(20); // gets rid of tick - PLAY_SONG(tone_startup); - #endif - - matrix_init_user(); -}; - -void shutdown_kb(void) { - #ifdef AUDIO_ENABLE - PLAY_SONG(tone_goodbye); - _delay_ms(150); - stop_all_notes(); - #endif -} |