2015-02-05 09:12 PM
I am using the st32cube HID middle ware library to implement a keyboard device. I am using USBD_HID_SendReport to send key data to the host. But this function will exit without doing anything if the bus is not available. How do I ensure that what I want to send actually gets sent?
I can replicate the code which checks if the bus is available, but that seems crude. Is there a proper way? Thanks