Decouple USB events from the USB interrupt handler. (#10437)

This commit is contained in:
Nick Brassel authored and GitHub committed 2021-02-01 08:19:00 +11:00
1 parent 0fa2e7c790
commit db11a2a1fd
3 files changed
+80 -9

No files matched your search

+11
View File
@@ -37,6 +37,17 @@ void init_usb_driver(USBDriver *usbp);
/* Restart the USB driver and bus */
void restart_usb_driver(USBDriver *usbp);
/* ---------------
* USB Event queue
* ---------------
*/
/* Initialisation of the FIFO */
void usb_event_queue_init(void);
/* Task to dequeue and execute any handlers for the USB events on the main thread */
void usb_event_queue_task(void);
/* ---------------
* Keyboard header
* ---------------