dmitrystu / libusb_stm32

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

Fix sign-compare warning #128

Closed rafaelmartins closed 1 year ago

rafaelmartins commented 1 year ago

I applied the same fix for every devfs driver (and simplified the stm32wb55 existing fix), but please note that I only tested the stm32l433 driver, using a stm32g341, however this change should be trivial and not cause any harm.