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

@ -54,7 +54,8 @@
"solid_splash": true,
"solid_multisplash": true
},
"driver": "is31fl3731"
"driver": "is31fl3731",
"sleep": true
},
"features": {
"audio": true,

View file

@ -115,18 +115,6 @@ uint8_t rgb_matrix_map_row_column_to_led_kb(uint8_t row, uint8_t column, uint8_t
return 0;
}
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();
}
#ifdef SWAP_HANDS_ENABLE
__attribute__ ((weak))
const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = {