start-up sound working, removes tick with some devices
This commit is contained in:
parent
0fd093b400
commit
157ddccc2c
2 changed files with 3 additions and 2 deletions
|
@ -309,7 +309,7 @@ void process_action_user(keyrecord_t *record) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void matrix_init_user(void) {
|
void matrix_init_user(void) {
|
||||||
// audio_init();
|
_delay_ms(10); // gets rid of tick
|
||||||
play_startup_tone();
|
play_startup_tone();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -79,7 +79,8 @@ static void power_down(uint8_t wdto)
|
||||||
led_set(0);
|
led_set(0);
|
||||||
|
|
||||||
#ifdef AUDIO_ENABLE
|
#ifdef AUDIO_ENABLE
|
||||||
stop_all_notes();
|
// This sometimes disables the start-up noise, so it's been disabled
|
||||||
|
// stop_all_notes();
|
||||||
#endif /* AUDIO_ENABLE */
|
#endif /* AUDIO_ENABLE */
|
||||||
|
|
||||||
// TODO: more power saving
|
// TODO: more power saving
|
||||||
|
|
Loading…
Reference in a new issue