diff options
author | Drashna Jaelre <drashna@live.com> | 2021-07-24 00:37:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-24 00:37:19 -0700 |
commit | b8a1e14f53489eea63bd747d1b94d7d9b7da5ac9 (patch) | |
tree | 962a82138ba7db677d9ee90e4de44053bdddb017 /keyboards/planck/rev6/rev6.c | |
parent | 73d4d7dc2bcad7ed7e4d3bdb33aacc18c374c8a9 (diff) | |
download | qmk_firmware-b8a1e14f53489eea63bd747d1b94d7d9b7da5ac9.tar.gz qmk_firmware-b8a1e14f53489eea63bd747d1b94d7d9b7da5ac9.zip |
Remove deprecated callbacks for encoders and dip switches (#13404)
Diffstat (limited to 'keyboards/planck/rev6/rev6.c')
-rw-r--r-- | keyboards/planck/rev6/rev6.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/keyboards/planck/rev6/rev6.c b/keyboards/planck/rev6/rev6.c index e6c49ae1c..da6da1100 100644 --- a/keyboards/planck/rev6/rev6.c +++ b/keyboards/planck/rev6/rev6.c | |||
@@ -40,31 +40,4 @@ led_config_t g_led_config = { { | |||
40 | // 0 | 40 | // 0 |
41 | // 7 8 1 2 | 41 | // 7 8 1 2 |
42 | 42 | ||
43 | void suspend_power_down_kb(void) { | ||
44 | rgb_matrix_set_suspend_state(true); | ||
45 | suspend_power_down_user(); | ||
46 | } | ||
47 | |||
48 | void suspend_wakeup_init_kb(void) { | ||
49 | rgb_matrix_set_suspend_state(false); | ||
50 | suspend_wakeup_init_user(); | ||
51 | } | ||
52 | #endif | ||
53 | |||
54 | void matrix_init_kb(void) { | ||
55 | matrix_init_user(); | ||
56 | } | ||
57 | |||
58 | void matrix_scan_kb(void) { | ||
59 | matrix_scan_user(); | ||
60 | } | ||
61 | |||
62 | #ifdef DIP_SWITCH_ENABLE | ||
63 | __attribute__((weak)) | ||
64 | bool dip_update(uint8_t index, bool active) { return true; } | ||
65 | |||
66 | __attribute__((weak)) | ||
67 | bool dip_switch_update_user(uint8_t index, bool active) { | ||
68 | return dip_update(index, active); | ||
69 | } | ||
70 | #endif | 43 | #endif |