mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 19:24:33 +02:00
Nimble: Removes global min/max definition causing problems with other libraries
This commit is contained in:
Submodule components/bt/host/nimble/nimble updated: 9a355b2b59...56ff5b8333
@@ -43,6 +43,14 @@ static int recent_test_id = STANDARD_TEST_ID;
|
|||||||
|
|
||||||
#define FAULT_ARR_SIZE 2
|
#define FAULT_ARR_SIZE 2
|
||||||
|
|
||||||
|
#ifndef min
|
||||||
|
#define min(a, b) ((a) < (b) ? (a) : (b))
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef max
|
||||||
|
#define max(a, b) ((a) > (b) ? (a) : (b))
|
||||||
|
#endif
|
||||||
|
|
||||||
static bool has_reg_fault = true;
|
static bool has_reg_fault = true;
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
Reference in New Issue
Block a user