diff options
author | Drashna Jaelre <drashna@live.com> | 2023-11-26 03:59:18 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-26 22:59:18 +1100 |
commit | 3ef06aa732ce8063e11b2f983592529883f7ecbc (patch) | |
tree | 7fa143f938e711b6db1c2ed40c36298b8f7604c7 /keyboards/bemeier | |
parent | 4601f339e48b0116ca139dd06ce55ef0b9ed598f (diff) |
Improve and Cleanup Shutdown callbacks (#21060)
Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com>
Diffstat (limited to 'keyboards/bemeier')
-rwxr-xr-x | keyboards/bemeier/bmek/bmek.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/keyboards/bemeier/bmek/bmek.c b/keyboards/bemeier/bmek/bmek.c index eaae446d63..dd0372aaee 100755 --- a/keyboards/bemeier/bmek/bmek.c +++ b/keyboards/bemeier/bmek/bmek.c @@ -15,9 +15,12 @@ */ #include "quantum.h" -__attribute__((weak)) -void shutdown_user(void) { +bool shutdown_kb(bool jump_to_bootloader) { + if (!shutdown_user(jump_to_bootloader)) { + return false; + } #ifdef RGBLIGHT_ENABLE rgblight_setrgb(255, 0, 0); #endif + return true; } |