aboutsummaryrefslogtreecommitdiff
path: root/tmk_core/protocol/vusb/protocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/protocol/vusb/protocol.c')
-rw-r--r--tmk_core/protocol/vusb/protocol.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/tmk_core/protocol/vusb/protocol.c b/tmk_core/protocol/vusb/protocol.c
index 89dc795b2..947c3383f 100644
--- a/tmk_core/protocol/vusb/protocol.c
+++ b/tmk_core/protocol/vusb/protocol.c
@@ -111,22 +111,15 @@ void protocol_setup(void) {
111 // clock prescaler 111 // clock prescaler
112 clock_prescale_set(clock_div_1); 112 clock_prescale_set(clock_div_1);
113#endif 113#endif
114 keyboard_setup();
115} 114}
116 115
117void protocol_init(void) { 116void protocol_init(void) {
118 setup_usb(); 117 setup_usb();
119 sei(); 118 sei();
120 119
121 keyboard_init();
122
123 host_set_driver(vusb_driver()); 120 host_set_driver(vusb_driver());
124 121
125 wait_ms(50); 122 wait_ms(50);
126
127#ifdef SLEEP_LED_ENABLE
128 sleep_led_init();
129#endif
130} 123}
131 124
132void protocol_task(void) { 125void protocol_task(void) {