summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel H Klein <danielklein@utexas.edu>2019-01-29 09:52:20 -0800
committerDrashna Jaelre <drashna@live.com>2019-01-29 09:52:20 -0800
commitf0e0a67ea56e1830e3b89382e4739a9fcbfac509 (patch)
tree6a6433aaf12d9fbc244f2d3822b8da0f267df1f1
parentefe360464d0df68e5096d7339e2279b4c77685fd (diff)
[Keyboard] Bug Fix To Unigo66 (#4995)
* 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
-rw-r--r--keyboards/sirius/unigo66/main.c8
-rw-r--r--keyboards/sirius/unigo66/rules.mk6
2 files changed, 3 insertions, 11 deletions
diff --git a/keyboards/sirius/unigo66/main.c b/keyboards/sirius/unigo66/main.c
index b4a0d97aaf..76e88922cb 100644
--- a/keyboards/sirius/unigo66/main.c
+++ b/keyboards/sirius/unigo66/main.c
@@ -79,18 +79,12 @@ int main(void)
*/
sei();
-/* Some keyboards bootup quickly and cannot be initialized with this startup wait.*/
+/* Some keyboards bootup quickly and cannot be initialized with this startup wait.
// wait for startup of sendchar routine
while (USB_DeviceState != DEVICE_STATE_Configured) ;
if (debug_enable) {
_delay_ms(1000);
}
-
-
-/* // wait for USB startup & debug output
- uint8_t timeout=255
- while (timeout-- && USB_DeviceState != DEVICE_STATE_Configured) {
- wait_ms(4);
*/
debug("init: done\n");
diff --git a/keyboards/sirius/unigo66/rules.mk b/keyboards/sirius/unigo66/rules.mk
index e716aa86fb..562b2b694e 100644
--- a/keyboards/sirius/unigo66/rules.mk
+++ b/keyboards/sirius/unigo66/rules.mk
@@ -26,7 +26,5 @@ EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
USB_HID_ENABLE = yes
CUSTOM_MATRIX = yes
-SRC = custom_matrix.cpp
-
-CUSTOM_MATRIX = yes
-SRC = custom_matrix.cpp
+SRC += custom_matrix.cpp \
+ main.c