1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 03:20:00 +03:00

[F7][LIB] Disable insane defs for MIN and MAX

This commit is contained in:
jflyper 2019-07-30 01:04:54 +09:00
parent ca47e60363
commit ce2b5c5e3c

View file

@ -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__ )