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
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,