diff options
author | omkbd <takuya.electronics@gmail.com> | 2019-05-06 08:19:07 +0900 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-05-05 16:19:07 -0700 |
commit | eb9ea8492736c14a7c57fd9bac7304e8dd6b7d80 (patch) | |
tree | 41acba2372ff64a9af66d3120640efce0651a4d2 /keyboards/ergodash/rev2/rev2.c | |
parent | 63d53b0f2860dd89c87ff477bd5064d17ec96635 (diff) |
[Keybooard] Update of Ergodash Keyboard (#5772)
* Simpler coding
use SPLIT_KEYBOARD
delete rev1 (rev2→rev1) because rev1is not sold
* delete USE_I2C = no
* Update readme.md
Diffstat (limited to 'keyboards/ergodash/rev2/rev2.c')
-rw-r--r-- | keyboards/ergodash/rev2/rev2.c | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/keyboards/ergodash/rev2/rev2.c b/keyboards/ergodash/rev2/rev2.c deleted file mode 100644 index 5e787921cb..0000000000 --- a/keyboards/ergodash/rev2/rev2.c +++ /dev/null @@ -1,39 +0,0 @@ -#include "ergodash.h" - -#ifdef AUDIO_ENABLE - float tone_startup[][2] = SONG(STARTUP_SOUND); - float tone_goodbye[][2] = SONG(GOODBYE_SOUND); -#endif - -#ifdef SSD1306OLED -void led_set_kb(uint8_t usb_led) { - // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here - led_set_user(usb_led); -} -#endif - -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); - - // // orange led on - // DDRB |= (1<<0); - // PORTB &= ~(1<<0); - - matrix_init_user(); -}; - -void shutdown_user(void) { - #ifdef AUDIO_ENABLE - PLAY_SONG(tone_goodbye); - _delay_ms(150); - stop_all_notes(); - #endif -} |