diff options
Diffstat (limited to 'keyboards/sirius/unigo66/main.c')
| -rw-r--r-- | keyboards/sirius/unigo66/main.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/keyboards/sirius/unigo66/main.c b/keyboards/sirius/unigo66/main.c index 76e88922c..4d167d9f7 100644 --- a/keyboards/sirius/unigo66/main.c +++ b/keyboards/sirius/unigo66/main.c | |||
| @@ -11,7 +11,6 @@ | |||
| 11 | #include "keyboard.h" | 11 | #include "keyboard.h" |
| 12 | #include "led.h" | 12 | #include "led.h" |
| 13 | 13 | ||
| 14 | |||
| 15 | /* LED ping configuration */ | 14 | /* LED ping configuration */ |
| 16 | #define TMK_LED | 15 | #define TMK_LED |
| 17 | //#define LEONARDO_LED | 16 | //#define LEONARDO_LED |
| @@ -87,6 +86,12 @@ int main(void) | |||
| 87 | } | 86 | } |
| 88 | */ | 87 | */ |
| 89 | 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 | |||
| 90 | debug("init: done\n"); | 95 | debug("init: done\n"); |
| 91 | 96 | ||
| 92 | for (;;) { | 97 | for (;;) { |
