Prep work for NKRO report separation (#22268)
* Clean up some keyboard/userspace code * Rename `KEYBOARD_REPORT_BITS` -> `NKRO_REPORT_BITS` * Add some missing includes * Use `PACKED` define for report types * Fix incorrect function signatures for FlexRAM EEPROM driver
This commit is contained in:
@ -88,9 +88,7 @@ void suspend_power_down_keymap(void) {}
|
||||
*/
|
||||
void suspend_power_down_user(void) {
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
if (!g_suspend_state) {
|
||||
rgb_matrix_set_suspend_state(true);
|
||||
}
|
||||
rgb_matrix_set_suspend_state(true);
|
||||
#endif //RGB_MATRIX_ENABLE
|
||||
suspend_power_down_keymap();
|
||||
}
|
||||
@ -103,9 +101,7 @@ void suspend_wakeup_init_keymap(void) {}
|
||||
*/
|
||||
void suspend_wakeup_init_user(void) {
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
if (g_suspend_state) {
|
||||
rgb_matrix_set_suspend_state(false);
|
||||
}
|
||||
rgb_matrix_set_suspend_state(false);
|
||||
#endif //RGB_MATRIX_ENABLE
|
||||
suspend_wakeup_init_keymap();
|
||||
}
|
||||
|
Reference in New Issue
Block a user