bouffalo_sdk
bouffalo_sdk copied to clipboard
BL702: compilation warnings about macro redefinitions
When compiling SDK with including usb_core.h
and bluetooth.h
, several macros are redefined:
- BIT(x): predefinition is checked in
bl_port.h
, but not inusb_util.h
. - ARRAY_SIZE(x): these definitions are different in
util.h
andusbd_util.h
.
Please fix it to compile warning-free programs.
Thank you,next time will fix these.