Improve and Cleanup Shutdown callbacks (#21060)
Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com>
This commit is contained in:
parent
4601f339e4
commit
3ef06aa732
79 changed files with 277 additions and 1684 deletions
|
|
@ -6,9 +6,6 @@ void matrix_init_user(void)
|
|||
#ifdef STENO_ENABLE
|
||||
steno_set_mode(STENO_MODE_BOLT); // or STENO_MODE_GEMINI
|
||||
#endif
|
||||
#ifdef AUDIO_ENABLE
|
||||
startup_user();
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef AUDIO_ENABLE
|
||||
|
|
@ -31,27 +28,4 @@ bool led_update_user(led_t led_state)
|
|||
return false;
|
||||
}
|
||||
#endif
|
||||
|
||||
void startup_user(void)
|
||||
{
|
||||
_delay_ms(20); // gets rid of tick
|
||||
PLAY_SONG(song_startup);
|
||||
}
|
||||
|
||||
void shutdown_user(void)
|
||||
{
|
||||
PLAY_SONG(song_goodbye);
|
||||
_delay_ms(150);
|
||||
stop_all_notes();
|
||||
}
|
||||
|
||||
void music_on_user(void)
|
||||
{
|
||||
music_scale_user();
|
||||
}
|
||||
|
||||
void music_scale_user(void)
|
||||
{
|
||||
PLAY_SONG(music_scale);
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue