diff options
| author | Joel Challis <git@zvecr.com> | 2024-08-04 02:07:02 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-04 02:07:02 +0100 |
| commit | 0fbe15030357a9dca7d6d3d9de4facea5a7b4bcc (patch) | |
| tree | aaf1fbe5ee0ccf6258009dfaadfece2992f905be /keyboards/planck | |
| parent | 0b4065b50cbcb1760c7e81d3c550c2dfdacd9d83 (diff) | |
Remove unnecessary RGB Matrix shutdown hooks (#24238)
Diffstat (limited to 'keyboards/planck')
| -rw-r--r-- | keyboards/planck/light/keyboard.json | 3 | ||||
| -rw-r--r-- | keyboards/planck/light/light.c | 12 |
2 files changed, 2 insertions, 13 deletions
diff --git a/keyboards/planck/light/keyboard.json b/keyboards/planck/light/keyboard.json index 33801562e5..dd1d69bf3c 100644 --- a/keyboards/planck/light/keyboard.json +++ b/keyboards/planck/light/keyboard.json | |||
| @@ -54,7 +54,8 @@ | |||
| 54 | "solid_splash": true, | 54 | "solid_splash": true, |
| 55 | "solid_multisplash": true | 55 | "solid_multisplash": true |
| 56 | }, | 56 | }, |
| 57 | "driver": "is31fl3731" | 57 | "driver": "is31fl3731", |
| 58 | "sleep": true | ||
| 58 | }, | 59 | }, |
| 59 | "features": { | 60 | "features": { |
| 60 | "audio": true, | 61 | "audio": true, |
diff --git a/keyboards/planck/light/light.c b/keyboards/planck/light/light.c index 8bbb8119c9..43487e2e21 100644 --- a/keyboards/planck/light/light.c +++ b/keyboards/planck/light/light.c | |||
| @@ -115,18 +115,6 @@ uint8_t rgb_matrix_map_row_column_to_led_kb(uint8_t row, uint8_t column, uint8_t | |||
| 115 | return 0; | 115 | return 0; |
| 116 | } | 116 | } |
| 117 | 117 | ||
| 118 | void suspend_power_down_kb(void) | ||
| 119 | { | ||
| 120 | rgb_matrix_set_suspend_state(true); | ||
| 121 | suspend_power_down_user(); | ||
| 122 | } | ||
| 123 | |||
| 124 | void suspend_wakeup_init_kb(void) | ||
| 125 | { | ||
| 126 | rgb_matrix_set_suspend_state(false); | ||
| 127 | suspend_wakeup_init_user(); | ||
| 128 | } | ||
| 129 | |||
| 130 | #ifdef SWAP_HANDS_ENABLE | 118 | #ifdef SWAP_HANDS_ENABLE |
| 131 | __attribute__ ((weak)) | 119 | __attribute__ ((weak)) |
| 132 | const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = { | 120 | const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = { |
