mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 03:20:00 +03:00
[H7][LIB][USB] usbd_def: disable insane defs of MIN and MAX
This commit is contained in:
parent
0c7bc10bd0
commit
42c9475203
1 changed files with 3 additions and 2 deletions
|
@ -274,8 +274,9 @@ typedef struct _USBD_HandleTypeDef
|
|||
|
||||
#define LOBYTE(x) ((uint8_t)(x & 0x00FFU))
|
||||
#define HIBYTE(x) ((uint8_t)((x & 0xFF00U) >> 8U))
|
||||
#define MIN(a, b) (((a) < (b)) ? (a) : (b))
|
||||
#define MAX(a, b) (((a) > (b)) ? (a) : (b))
|
||||
// It's insane to define these here.
|
||||
//#define MIN(a, b) (((a) < (b)) ? (a) : (b))
|
||||
//#define MAX(a, b) (((a) > (b)) ? (a) : (b))
|
||||
|
||||
|
||||
#if defined ( __GNUC__ )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue