diff options
Diffstat (limited to 'tmk_core/protocol/chibios/chibios.c')
| -rw-r--r-- | tmk_core/protocol/chibios/chibios.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/tmk_core/protocol/chibios/chibios.c b/tmk_core/protocol/chibios/chibios.c index e5d3a4c54..26181d8c7 100644 --- a/tmk_core/protocol/chibios/chibios.c +++ b/tmk_core/protocol/chibios/chibios.c | |||
| @@ -46,9 +46,6 @@ | |||
| 46 | #ifdef SERIAL_LINK_ENABLE | 46 | #ifdef SERIAL_LINK_ENABLE |
| 47 | # include "serial_link/system/serial_link.h" | 47 | # include "serial_link/system/serial_link.h" |
| 48 | #endif | 48 | #endif |
| 49 | #ifdef VISUALIZER_ENABLE | ||
| 50 | # include "visualizer/visualizer.h" | ||
| 51 | #endif | ||
| 52 | #ifdef MIDI_ENABLE | 49 | #ifdef MIDI_ENABLE |
| 53 | # include "qmk_midi.h" | 50 | # include "qmk_midi.h" |
| 54 | #endif | 51 | #endif |
| @@ -161,10 +158,6 @@ void protocol_init(void) { | |||
| 161 | init_serial_link(); | 158 | init_serial_link(); |
| 162 | #endif | 159 | #endif |
| 163 | 160 | ||
| 164 | #ifdef VISUALIZER_ENABLE | ||
| 165 | visualizer_init(); | ||
| 166 | #endif | ||
| 167 | |||
| 168 | host_driver_t *driver = NULL; | 161 | host_driver_t *driver = NULL; |
| 169 | 162 | ||
| 170 | /* Wait until the USB or serial link is active */ | 163 | /* Wait until the USB or serial link is active */ |
| @@ -214,9 +207,6 @@ void protocol_task(void) { | |||
| 214 | #if !defined(NO_USB_STARTUP_CHECK) | 207 | #if !defined(NO_USB_STARTUP_CHECK) |
| 215 | if (USB_DRIVER.state == USB_SUSPENDED) { | 208 | if (USB_DRIVER.state == USB_SUSPENDED) { |
| 216 | print("[s]"); | 209 | print("[s]"); |
| 217 | # ifdef VISUALIZER_ENABLE | ||
| 218 | visualizer_suspend(); | ||
| 219 | # endif | ||
| 220 | while (USB_DRIVER.state == USB_SUSPENDED) { | 210 | while (USB_DRIVER.state == USB_SUSPENDED) { |
| 221 | /* Do this in the suspended state */ | 211 | /* Do this in the suspended state */ |
| 222 | # ifdef SERIAL_LINK_ENABLE | 212 | # ifdef SERIAL_LINK_ENABLE |
| @@ -235,10 +225,6 @@ void protocol_task(void) { | |||
| 235 | # ifdef MOUSEKEY_ENABLE | 225 | # ifdef MOUSEKEY_ENABLE |
| 236 | mousekey_send(); | 226 | mousekey_send(); |
| 237 | # endif /* MOUSEKEY_ENABLE */ | 227 | # endif /* MOUSEKEY_ENABLE */ |
| 238 | |||
| 239 | # ifdef VISUALIZER_ENABLE | ||
| 240 | visualizer_resume(); | ||
| 241 | # endif | ||
| 242 | } | 228 | } |
| 243 | #endif | 229 | #endif |
| 244 | 230 | ||
