1
0
Fork 0

Remove unnecessary RGB Matrix shutdown hooks (#24238)

This commit is contained in:
Joel Challis 2024-08-04 02:07:02 +01:00 committed by GitHub
parent 0b4065b50c
commit 0fbe150303
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 10 additions and 230 deletions

View file

@ -33,13 +33,4 @@ led_config_t g_led_config = { {
}
};
void suspend_power_down_kb(void)
{
rgb_matrix_set_suspend_state(true);
}
void suspend_wakeup_init_kb(void)
{
rgb_matrix_set_suspend_state(false);
}
#endif // #ifdef RGB_MATRIX_ENABLE

View file

@ -58,7 +58,8 @@
"solid_multisplash": true
},
"driver": "ws2812",
"max_brightness": 128
"max_brightness": 128,
"sleep": true
},
"features": {
"bootmagic": true,

View file

@ -47,13 +47,4 @@ led_config_t g_led_config = {{
}
};
void suspend_power_down_kb(void)
{
rgb_matrix_set_suspend_state(true);
}
void suspend_wakeup_init_kb(void)
{
rgb_matrix_set_suspend_state(false);
}
#endif // #ifdef RGB_MATRIX_ENABLE

View file

@ -58,7 +58,8 @@
"solid_multisplash": true
},
"driver": "ws2812",
"max_brightness": 128
"max_brightness": 128,
"sleep": true
},
"features": {
"bootmagic": true,