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> --- users/brandonschlack/brandonschlack.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'users/brandonschlack') diff --git a/users/brandonschlack/brandonschlack.c b/users/brandonschlack/brandonschlack.c index 6a9c04a73d..bcf3ebcb80 100644 --- a/users/brandonschlack/brandonschlack.c +++ b/users/brandonschlack/brandonschlack.c @@ -68,7 +68,7 @@ void shutdown_keymap(void) {} * If RGBs enabled, * then set RGB color to Red */ -void shutdown_user (void) { +bool shutdown_user(bool jump_to_bootloader) { #ifdef RGBLIGHT_ENABLE rgblight_enable_noeeprom(); rgblight_mode_noeeprom(RGBLIGHT_MODE_STATIC_LIGHT); @@ -78,6 +78,7 @@ void shutdown_user (void) { rgb_matrix_set_color_all( 0xFF, 0x00, 0x00 ); #endif //RGB_MATRIX_ENABLE shutdown_keymap(); + return false; } __attribute__ ((weak)) -- cgit v1.2.3