Browse Source

start-up sound working, removes tick with some devices

pull/270/head
Jack Humbert 8 years ago
parent
commit
157ddccc2c
2 changed files with 3 additions and 2 deletions
  1. +1
    -1
      keyboard/preonic/keymaps/default/keymap.c
  2. +2
    -1
      tmk_core/common/avr/suspend.c

+ 1
- 1
keyboard/preonic/keymaps/default/keymap.c View File

@ -309,7 +309,7 @@ void process_action_user(keyrecord_t *record) {
}
void matrix_init_user(void) {
// audio_init();
_delay_ms(10); // gets rid of tick
play_startup_tone();
}


+ 2
- 1
tmk_core/common/avr/suspend.c View File

@ -79,7 +79,8 @@ static void power_down(uint8_t wdto)
led_set(0);
#ifdef AUDIO_ENABLE
stop_all_notes();
// This sometimes disables the start-up noise, so it's been disabled
// stop_all_notes();
#endif /* AUDIO_ENABLE */
// TODO: more power saving


Loading…
Cancel
Save