bouffalo_sdk icon indicating copy to clipboard operation
bouffalo_sdk copied to clipboard

BL702: compilation warnings about macro redefinitions

Open metro94 opened this issue 3 years ago • 1 comments

When compiling SDK with including usb_core.h and bluetooth.h, several macros are redefined:

DJ_90HP)}0B)}}4MU XCYD0

  • BIT(x): predefinition is checked in bl_port.h, but not in usb_util.h.
  • ARRAY_SIZE(x): these definitions are different in util.h and usbd_util.h.

Please fix it to compile warning-free programs.

metro94 avatar Aug 18 '21 03:08 metro94

Thank you,next time will fix these.

sakumisue avatar Aug 18 '21 03:08 sakumisue