dmitrystu / libusb_stm32

Lightweight USB device Stack for STM32 microcontrollers
Apache License 2.0
721 stars 165 forks source link

Adding stdbool to usbd_core.h #10

Closed xcvista closed 6 years ago

xcvista commented 6 years ago

Way too many times had I be bitten by this: usbd_core.h depends on stdbool.h, but it does not #include it directly for some reason. I just added it there so it won't bite in the future again.

And regarding C++, stdbool.h is usually safe to C++.