dmitrystu / libusb_stm32

Lightweight USB device Stack for STM32 microcontrollers
Apache License 2.0
696 stars 160 forks source link

Find out if there is any real data to read for an interrupt. #91

Open xcvista opened 3 years ago

xcvista commented 3 years ago

Currently when I read from USB interrupt endpoints, I would get FF FF's if the host sent nothing. Is it possible to filter those out?

dzarda commented 3 years ago

Does it happen every time with no data?

xcvista commented 3 years ago

It appears to me to be like this.