mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 11:29:58 +03:00
[F7][LIB] Resolve conflicts of UNUSED defs ST library
Equivalent to #7596 change
This commit is contained in:
parent
d3c012245f
commit
94b1f8ce9c
1 changed files with 3 additions and 1 deletions
|
@ -55,7 +55,9 @@ typedef enum
|
||||||
|
|
||||||
/* Exported macro ------------------------------------------------------------*/
|
/* Exported macro ------------------------------------------------------------*/
|
||||||
|
|
||||||
#define UNUSED(X) (void)X /* To avoid gcc/g++ warnings */
|
#if !defined(UNUSED)
|
||||||
|
#define UNUSED(X) ((void)(X)) /* To avoid gcc/g++ warnings */
|
||||||
|
#endif
|
||||||
|
|
||||||
#define HAL_MAX_DELAY 0xFFFFFFFFU
|
#define HAL_MAX_DELAY 0xFFFFFFFFU
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue