Skip to content

Commit

Permalink
[F7][LIB] Resolve conflicts of UNUSED defs ST library
Browse files Browse the repository at this point in the history
Equivalent to #7596 change
  • Loading branch information
ezshinoda committed Jul 29, 2019
1 parent d3c0122 commit 94b1f8c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ typedef enum

/* 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

Expand Down

0 comments on commit 94b1f8c

Please sign in to comment.