diff options
Diffstat (limited to 'keyboards/hadron/ver3/ver3.c')
-rw-r--r-- | keyboards/hadron/ver3/ver3.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/keyboards/hadron/ver3/ver3.c b/keyboards/hadron/ver3/ver3.c index 5e5e3e009..37169fe2f 100644 --- a/keyboards/hadron/ver3/ver3.c +++ b/keyboards/hadron/ver3/ver3.c | |||
@@ -17,7 +17,7 @@ | |||
17 | #include "qwiic.h" | 17 | #include "qwiic.h" |
18 | #include "action_layer.h" | 18 | #include "action_layer.h" |
19 | #include "matrix.h" | 19 | #include "matrix.h" |
20 | #include "DRV2605L.h" | 20 | #include "haptic.h" |
21 | 21 | ||
22 | #ifdef QWIIC_MICRO_OLED_ENABLE | 22 | #ifdef QWIIC_MICRO_OLED_ENABLE |
23 | 23 | ||
@@ -167,20 +167,12 @@ void encoder_update_kb(uint8_t index, bool clockwise) { | |||
167 | #endif | 167 | #endif |
168 | 168 | ||
169 | void matrix_init_kb(void) { | 169 | void matrix_init_kb(void) { |
170 | #ifdef DRV2605L | ||
171 | DRV_init(); | ||
172 | #endif | ||
173 | queue_for_send = true; | 170 | queue_for_send = true; |
174 | matrix_init_user(); | 171 | matrix_init_user(); |
175 | } | 172 | } |
176 | 173 | ||
177 | void matrix_scan_kb(void) { | 174 | void matrix_scan_kb(void) { |
178 | |||
179 | if (queue_for_send) { | 175 | if (queue_for_send) { |
180 | #ifdef DRV2605L | ||
181 | DRV_EFFECT play_eff = strong_click; | ||
182 | DRV_pulse(play_eff); | ||
183 | #endif | ||
184 | #ifdef QWIIC_MICRO_OLED_ENABLE | 176 | #ifdef QWIIC_MICRO_OLED_ENABLE |
185 | read_host_led_state(); | 177 | read_host_led_state(); |
186 | draw_ui(); | 178 | draw_ui(); |