~ruther/qmk_firmware

157ddccc2c0b865582fb488ea5346e2996b05468 — Jack Humbert 9 years ago 0fd093b
start-up sound working, removes tick with some devices
2 files changed, 3 insertions(+), 2 deletions(-)

M keyboard/preonic/keymaps/default/keymap.c
M tmk_core/common/avr/suspend.c
M keyboard/preonic/keymaps/default/keymap.c => keyboard/preonic/keymaps/default/keymap.c +1 -1
@@ 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();
}


M tmk_core/common/avr/suspend.c => tmk_core/common/avr/suspend.c +2 -1
@@ 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