Meira updates for bluetooth and audio (#2731)
* Add audio output * Update Miera to fix bluetooth issues, bootloader definition. * Added keymap with audio example * Cleanup Meira audio code
This commit is contained in:
committed by
Jack Humbert
parent
3d3c093173
commit
b4bdebab9a
@@ -22,30 +22,10 @@
|
||||
|
||||
extern void backlight_set(uint8_t level);
|
||||
|
||||
#ifdef AUDIO_ENABLE
|
||||
float tone_startup[][2] = SONG(STARTUP_SOUND);
|
||||
float tone_goodbye[][2] = SONG(GOODBYE_SOUND);
|
||||
#endif
|
||||
|
||||
|
||||
void shutdown_user(void) {
|
||||
#ifdef AUDIO_ENABLE
|
||||
PLAY_NOTE_ARRAY(tone_goodbye, false, 0);
|
||||
_delay_ms(150);
|
||||
stop_all_notes();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
void matrix_init_kb(void)
|
||||
{
|
||||
debug_enable=true;
|
||||
print("meira matrix_init_kb\n");
|
||||
#ifdef AUDIO_ENABLE
|
||||
_delay_ms(20); // gets rid of tick
|
||||
PLAY_NOTE_ARRAY(tone_startup, false, 0);
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef ISSI_ENABLE
|
||||
issi_init();
|
||||
|
||||
Reference in New Issue
Block a user