Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Bugfix: c2usb deinit assert #248

Closed
wants to merge 1 commit into from

Conversation

benedekkupper
Copy link
Contributor

To fix this issue:
UltimateHackingKeyboard/firmware#999

This is a temporary bugfix, the final fix will need a bigger overhaul of how we destroy the USB connection when the BLE HID connection is established (it's a multithreading issue).

@mondalaci
Copy link
Member

According to my testing, Zephyr doesn't crash this way. However, the USB connection doesn't recover when disconnecting Bluetooth: The USB mouse interface sometimes recovers, but the USB keyboard interface never recovers.

In its current state, the bug that this PR introduces outweighs the fix.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants