diff options
author | Drashna Jaelre <[email protected]> | 2023-11-26 03:59:18 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2023-11-26 22:59:18 +1100 |
commit | 3ef06aa732ce8063e11b2f983592529883f7ecbc (patch) | |
tree | 7fa143f938e711b6db1c2ed40c36298b8f7604c7 /layouts/community | |
parent | 4601f339e48b0116ca139dd06ce55ef0b9ed598f (diff) | |
download | qmk_firmware-3ef06aa732ce8063e11b2f983592529883f7ecbc.tar.gz qmk_firmware-3ef06aa732ce8063e11b2f983592529883f7ecbc.zip |
Improve and Cleanup Shutdown callbacks (#21060)
Co-authored-by: Dasky <[email protected]>
Diffstat (limited to 'layouts/community')
-rw-r--r-- | layouts/community/numpad_5x6/bjohnson/keymap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/community/numpad_5x6/bjohnson/keymap.c b/layouts/community/numpad_5x6/bjohnson/keymap.c index 63b358f226..49713df2c3 100644 --- a/layouts/community/numpad_5x6/bjohnson/keymap.c +++ b/layouts/community/numpad_5x6/bjohnson/keymap.c @@ -44,10 +44,11 @@ bool led_update_user(led_t led_state) { return false; } -void shutdown_user (void) { +bool shutdown_user(bool jump_to_bootloader) { #ifdef RGBLIGHT_ENABLE rgblight_enable_noeeprom(); rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_LIGHT); rgblight_setrgb(RGB_RED); #endif // RGBLIGHT_ENABLE + return false; } |