You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I can see USB_USBTask() manages the control endpoint when it is not handled via interrupts. However if you do use INTERRUPT_CONTROL_ENDPOINT, it is not required and should be removed.
You could then remove the function completely in the lufa source via #ifdef INTERRUPT_CONTROL_ENDPOINT which will result in a compile error. Most users will not know what to do then, why the symbol is missing.
As an alternative you can declare the function as depreciated with a custom text, warning that it is useless when INTERRUPT_CONTROL_ENDPOINT was used.
The text was updated successfully, but these errors were encountered:
I also notived that the usb task is available in some class drivers. It has to be surrounded by ifdefs too. Example: static int CDC_Device_getchar_Blocking(FILE* Stream)
As far as I can see
USB_USBTask()
manages the control endpoint when it is not handled via interrupts. However if you do useINTERRUPT_CONTROL_ENDPOINT
, it is not required and should be removed.You could then remove the function completely in the lufa source via
#ifdef INTERRUPT_CONTROL_ENDPOINT
which will result in a compile error. Most users will not know what to do then, why the symbol is missing.As an alternative you can declare the function as depreciated with a custom text, warning that it is useless when
INTERRUPT_CONTROL_ENDPOINT
was used.The text was updated successfully, but these errors were encountered: