1
0
Fork 0

[Keyboard] move @omkbd 's boards to /omkbd (#16116)

This commit is contained in:
peepeetee 2022-02-01 10:11:18 +08:00 committed by GitHub
parent 658d211804
commit 8515d12e20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
161 changed files with 51 additions and 51 deletions

View file

@ -0,0 +1,32 @@
#include "ergodash.h"
#ifdef AUDIO_ENABLE
float tone_startup[][2] = SONG(STARTUP_SOUND);
float tone_goodbye[][2] = SONG(GOODBYE_SOUND);
#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
}