aboutsummaryrefslogtreecommitdiff
path: root/keyboards/sirius/unigo66/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/sirius/unigo66/main.c')
-rw-r--r--keyboards/sirius/unigo66/main.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/keyboards/sirius/unigo66/main.c b/keyboards/sirius/unigo66/main.c
index 4d167d9f7..b4f2a91e4 100644
--- a/keyboards/sirius/unigo66/main.c
+++ b/keyboards/sirius/unigo66/main.c
@@ -78,19 +78,12 @@ int main(void)
78 */ 78 */
79 sei(); 79 sei();
80 80
81/* Some keyboards bootup quickly and cannot be initialized with this startup wait. 81/* Some keyboards bootup quickly and cannot be initialized with this startup wait.*/
82 // wait for startup of sendchar routine 82 // wait for startup of sendchar routine
83 while (USB_DeviceState != DEVICE_STATE_Configured) ; 83 while (USB_DeviceState != DEVICE_STATE_Configured) ;
84 if (debug_enable) { 84 if (debug_enable) {
85 _delay_ms(1000); 85 _delay_ms(1000);
86 } 86 }
87*/
88
89 /* wait for USB startup to get ready for debug output */
90 uint8_t timeout = 255; // timeout when USB is not available(Bluetooth)
91 while (timeout-- && USB_DeviceState != DEVICE_STATE_Configured) {
92 _delay_ms(4);
93 }
94 87
95 debug("init: done\n"); 88 debug("init: done\n");
96 89