summaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-10-14 22:21:20 +1100
committerGitHub <noreply@github.com>2023-10-14 13:21:20 +0200
commit1bff37781bda1d0c285aa5aa7102d6941ad64e7d (patch)
tree6348d64c7d7bba987e8bb386768fde33f33ace18 /users
parent1da7c8c8d0c70c9f614ce898ee3380db0f04fa27 (diff)
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
Diffstat (limited to 'users')
-rw-r--r--users/brandonschlack/brandonschlack.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/users/brandonschlack/brandonschlack.c b/users/brandonschlack/brandonschlack.c
index 1e52bd6452..6a9c04a73d 100644
--- a/users/brandonschlack/brandonschlack.c
+++ b/users/brandonschlack/brandonschlack.c
@@ -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();
}