STMicroelectronics / STM32CubeWB

Full Firmware Package for the STM32WB series: HAL+LL drivers, CMSIS, BSP, MW, plus a set of Projects (examples and demos) running on all boards provided by ST (Nucleo, Evaluation and Discovery Kits).
https://www.st.com/en/embedded-software/stm32cubewb.html
Other
229 stars 139 forks source link

warning: braces around scalar initializer #46

Closed AndreiCherniaev closed 3 years ago

AndreiCherniaev commented 3 years ago

https://github.com/STMicroelectronics/STM32CubeWB/blob/4a9f9892bfeeb155fcae93a493f3f358f193ee9d/Projects/P-NUCLEO-WB55.USBDongle/Applications/BLE/BLE_MeshLightingLPN/Core/Src/app_debug.c#L68

There are two warnings on one string! It is not normal. warning: braces around scalar initializer warning: excess elements in scalar initializer

May be you should use APPD_GeneralConfig={BLE_DTB_CFG, SYS_DBG_CFG1, 0, 0}; ?

ASELSTM commented 3 years ago

Hi @AndreiCherniaev,

Would you give us details about the compiler you have used detect these warnings ?

With regards,

ASELSTM commented 3 years ago

Hi @AndreiCherniaev,

Please allow me to close this thread as no activity. You can reopen it at any time if you have details to provide us to help you solve this issue. Thank you for your comprehension and thank you once more for your contribution.

With regards,