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

@ -39,13 +39,4 @@ led_config_t g_led_config = {
}
};
void suspend_power_down_kb(void) {
rgb_matrix_set_suspend_state(true);
suspend_power_down_user();
}
void suspend_wakeup_init_kb(void) {
rgb_matrix_set_suspend_state(false);
suspend_wakeup_init_user();
}
#endif

View file

@ -20,7 +20,8 @@
},
"rgb_matrix": {
"driver": "ws2812",
"max_brightness": 150
"max_brightness": 150,
"sleep": true
},
"matrix_pins": {
"cols": ["B0", "B1", "B2", "B3", "B7", "D0", "D1", "D2", "D3", "D5", "F0", "F1", "C7", "F4", "F5", "F6"],