From f0e0a67ea56e1830e3b89382e4739a9fcbfac509 Mon Sep 17 00:00:00 2001 From: Daniel H Klein Date: Tue, 29 Jan 2019 09:52:20 -0800 Subject: [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 * Update keyboards/sirius/unigo66/keymaps/danielhklein/keymap.c Co-Authored-By: danielhklein * Update keyboards/sirius/unigo66/keymaps/default/config.h Co-Authored-By: danielhklein * Update keyboards/sirius/unigo66/keymaps/danielhklein/config.h Co-Authored-By: danielhklein * debugging * correct keymap to layout * readme * remove common config * suggested changes to config.h * default keymap cleanup * bug fixes --- keyboards/sirius/unigo66/main.c | 8 +------- keyboards/sirius/unigo66/rules.mk | 6 ++---- 2 files changed, 3 insertions(+), 11 deletions(-) (limited to 'keyboards/sirius') diff --git a/keyboards/sirius/unigo66/main.c b/keyboards/sirius/unigo66/main.c index b4a0d97aa..76e88922c 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 e716aa86f..562b2b694 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 -- cgit v1.2.3-24-g4f1b