diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-11-29 13:55:29 -0700 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-11-30 10:33:16 -0700 |
commit | cda33a489898c18024823b4d4b6e5e0c3b2de24a (patch) | |
tree | 4fd3dc9af57e9451df072788cef20c8bc129db3f /cmd/sbc_harness/usb_keyboard.c | |
parent | fb2322993268c0d8441971446a9c716b28545a7b (diff) |
Don't use TinyUSB BSP
I guess the BSP is only meant for demos, and doesn't play nice with a
larger project. Notably, board_init() re-initializes the UART hardware,
causing weird glitches.
Diffstat (limited to 'cmd/sbc_harness/usb_keyboard.c')
-rw-r--r-- | cmd/sbc_harness/usb_keyboard.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd/sbc_harness/usb_keyboard.c b/cmd/sbc_harness/usb_keyboard.c index 637921e..f4816c1 100644 --- a/cmd/sbc_harness/usb_keyboard.c +++ b/cmd/sbc_harness/usb_keyboard.c @@ -24,7 +24,6 @@ static uint8_t kbd_ifc = 0; void usb_keyboard_init() { if (kbd_ifc) return; - usb_common_earlyinit(); kbd_ifc = usb_add_interface(cfgnum_std, TUD_HID_DESC_LEN, (uint8_t[]){ /* USB-HID input-only descriptor for inclusion in the config descriptor; consisting of 3 parts: |