diff options
| author | Drashna Jaelre <drashna@live.com> | 2021-12-29 06:14:48 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-29 06:14:48 -0800 |
| commit | 906108fb486797ab2f3eb7c3a6f70e099c1199e6 (patch) | |
| tree | a5cf602f98240f941677c4b27ce0865b08f2cffd /keyboards/planck/ez/ez.c | |
| parent | bdce7c8d4a7dc067c31e7115efc1c8caa1bc74bf (diff) | |
| download | qmk_firmware-906108fb486797ab2f3eb7c3a6f70e099c1199e6.tar.gz qmk_firmware-906108fb486797ab2f3eb7c3a6f70e099c1199e6.zip | |
[Keyboard] Update to ZSA Keyboards (#15644)
Diffstat (limited to 'keyboards/planck/ez/ez.c')
| -rw-r--r-- | keyboards/planck/ez/ez.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/keyboards/planck/ez/ez.c b/keyboards/planck/ez/ez.c index 5c68726a0..98ec13085 100644 --- a/keyboards/planck/ez/ez.c +++ b/keyboards/planck/ez/ez.c | |||
| @@ -106,16 +106,6 @@ led_config_t g_led_config = { { | |||
| 106 | 1, 1, 1, 1, 1, 4, 1, 1, 1, 1, 1 | 106 | 1, 1, 1, 1, 1, 4, 1, 1, 1, 1, 1 |
| 107 | } }; | 107 | } }; |
| 108 | 108 | ||
| 109 | void suspend_power_down_kb(void) { | ||
| 110 | rgb_matrix_set_color_all(0, 0, 0); | ||
| 111 | rgb_matrix_set_suspend_state(true); | ||
| 112 | suspend_power_down_user(); | ||
| 113 | } | ||
| 114 | |||
| 115 | void suspend_wakeup_init_kb(void) { | ||
| 116 | rgb_matrix_set_suspend_state(false); | ||
| 117 | suspend_wakeup_init_user(); | ||
| 118 | } | ||
| 119 | #endif | 109 | #endif |
| 120 | 110 | ||
| 121 | /* Left B9 Right B8 */ | 111 | /* Left B9 Right B8 */ |
| @@ -259,7 +249,7 @@ layer_state_t layer_state_set_kb(layer_state_t state) { | |||
| 259 | planck_ez_left_led_off(); | 249 | planck_ez_left_led_off(); |
| 260 | planck_ez_right_led_off(); | 250 | planck_ez_right_led_off(); |
| 261 | state = layer_state_set_user(state); | 251 | state = layer_state_set_user(state); |
| 262 | uint8_t layer = biton32(state); | 252 | uint8_t layer = get_highest_layer(state); |
| 263 | switch (layer) { | 253 | switch (layer) { |
| 264 | case PLANCK_EZ_LED_LOWER: | 254 | case PLANCK_EZ_LED_LOWER: |
| 265 | planck_ez_left_led_on(); | 255 | planck_ez_left_led_on(); |
