diff options
| author | Daniel H Klein <danielklein@utexas.edu> | 2019-02-13 11:03:10 -0800 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2019-02-13 11:03:10 -0800 |
| commit | 8cd6cfcb77b5e90c1ad77486171049c436183175 (patch) | |
| tree | d1acdc55650c4a58231ca49f6c47c2b0d700a8ed /keyboards/sirius/unigo66/main.c | |
| parent | 918a52da61f8db245d6389e0ff574f41d4d17ccf (diff) | |
| download | qmk_firmware-8cd6cfcb77b5e90c1ad77486171049c436183175.tar.gz qmk_firmware-8cd6cfcb77b5e90c1ad77486171049c436183175.zip | |
[Keyboard] Unigo66 beta pcb added, bug fixes for flashing (#5108)
* 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
* default keymap cleanup
* bug fixes
* beta user pcb added, flashing fixed
* syntax fix
* updated info.json
* fix spelling
* fix readme
Diffstat (limited to 'keyboards/sirius/unigo66/main.c')
| -rw-r--r-- | keyboards/sirius/unigo66/main.c | 9 |
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 | ||
