diff options
| author | Daniel H Klein <danielklein@utexas.edu> | 2019-02-07 15:24:34 -0800 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2019-02-07 15:24:34 -0800 |
| commit | 76da6ec0618a95afe956ae43f47ef173774cf8ae (patch) | |
| tree | b07101331fdaa7e96b9ca8a90f8d8900984bb24a /keyboards/sirius/unigo66/main.c | |
| parent | 6affec582b4816bf7f3b22bb3e3c7175d09e5c9e (diff) | |
| download | qmk_firmware-76da6ec0618a95afe956ae43f47ef173774cf8ae.tar.gz qmk_firmware-76da6ec0618a95afe956ae43f47ef173774cf8ae.zip | |
[Keyboard] Unigo66 fixes and improvements (#5060)
* UniGo66 keyboard added
* UniGo66 keyboard added
* case correction of unigo66 files
* create sirius folder
* Update keyboards/sirius/unigo66/rules.mk
Co-Authored-By: danielhklein <danielklein@utexas.edu>
* Update keyboards/sirius/unigo66/keymaps/danielhklein/keymap.c
Co-Authored-By: danielhklein <danielklein@utexas.edu>
* Update keyboards/sirius/unigo66/keymaps/default/config.h
Co-Authored-By: danielhklein <danielklein@utexas.edu>
* Update keyboards/sirius/unigo66/keymaps/danielhklein/config.h
Co-Authored-By: danielhklein <danielklein@utexas.edu>
* debugging
* correct keymap to layout
* readme
* remove common config
* suggested changes to config.h
* updates and fixes
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 (;;) { |
