From 3ef06aa732ce8063e11b2f983592529883f7ecbc Mon Sep 17 00:00:00 2001 From: Drashna Jaelre Date: Sun, 26 Nov 2023 03:59:18 -0800 Subject: Improve and Cleanup Shutdown callbacks (#21060) Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com> --- layouts/community/numpad_5x6/bjohnson/keymap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'layouts/community') 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; } -- cgit v1.2.3