STMicroelectronics / STM32CubeF4

STM32Cube MCU Full Package for the STM32F4 series - (HAL + LL Drivers, CMSIS Core, CMSIS Device, MW libraries plus a set of Projects running on all boards provided by ST (Nucleo, Evaluation and Discovery Kits))
Other
871 stars 418 forks source link

defines: prevent redefinition #143

Closed rideyourstyle closed 2 years ago

rideyourstyle commented 2 years ago

To prevent compiler warnings/errors we have to wrap the definition of UNUSED with an ifndef. So there are no problems if this is already defined in the project

Signed-off-by: Peter Tönz peter@rideyourstyle.ch

IMPORTANT INFORMATION

Contributor License Agreement (CLA)

ST-dot-com commented 2 years ago

This pull request has been refused, the Contribution License Agreement must be signed.