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
|
@ -147,11 +147,12 @@ void keyboard_post_init_user(void) {
|
|||
do_rgb_layers(layer_state, LAYER_BASE, LAYER_BASE_END);
|
||||
}
|
||||
|
||||
void shutdown_user(void) {
|
||||
bool shutdown_user(bool jump_to_bootloader) {
|
||||
clear_rgb_layers();
|
||||
rgblight_enable();
|
||||
rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_LIGHT);
|
||||
rgblight_sethsv_noeeprom(HSV_RED);
|
||||
return false;
|
||||
}
|
||||
|
||||
void spidey_glow(void) {
|
||||
|
@ -218,4 +219,3 @@ void post_process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue