-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make USB HID period configurable (and default is now 8ms) (#998)
* make USB HID period configurable (and default is now 8ms) * add HID_SetInterval to target.h * fix lint error (whitespace/comments) * add HID_SetInterval to test stubs * moeder's solution for USB HID compilation on 7e/f7 * usbhid: simplify period selection to 125/250/500/1000 Hz, and make mixer run in-sync with protocol mixer timing code is copied from sbus/sumd * fix lint error * USBHID: try to improve synchronisation to host polling * usbhid: decrease ROM use (esp. for modular) and hopefully not break anything stubs might not be the right place to declare HID_prevXferComplete on platforms that don't use devo_hid.c, but I'm not sure where else makes sense * USBHID: try using a callback for better timing * usb hid: ensure clock is stopped after deinit * revert d47172 and 99fb44 Co-authored-by: somewhatlurker <[email protected]>
- Loading branch information
1 parent
9e9beec
commit f79e396
Showing
8 changed files
with
103 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters