STM32CubeF4 icon indicating copy to clipboard operation
STM32CubeF4 copied to clipboard

defines: prevent redefinition

Open rideyourstyle opened this issue 3 years ago • 2 comments

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 [email protected]

IMPORTANT INFORMATION

Contributor License Agreement (CLA)

  • The Pull Request feature will be considered by STMicroelectronics after the signature of a Contributor License Agreement (CLA) by the submitter.
  • If you did not sign such agreement, please follow the steps mentioned in the CONTRIBUTING.md file.

rideyourstyle avatar Sep 19 '22 15:09 rideyourstyle

Hi @rideyourstyle,

Thank you for your proposal. It has been submitted to our development teams. We will keep you informed.

With regards,

ALABSTM avatar Oct 14 '22 15:10 ALABSTM

ST Internal Reference: 136825

ALABSTM avatar Oct 14 '22 15:10 ALABSTM

Hi @rideyourstyle,

Thank you again for this proposal. It has just been merged.

With regards,

ALABSTM avatar Feb 03 '23 08:02 ALABSTM