mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(nimble): Removed global min/max definition causing problems with other libraries
This commit is contained in:
parent
08ae96d72f
commit
6d6a0eddc9
@ -1 +1 @@
|
||||
Subproject commit ccf58a961f13029c5b1ab0357eaafb3bc4712259
|
||||
Subproject commit 6669d8b418c7e483e1f750d354e462082ad695f9
|
@ -44,6 +44,14 @@ static int recent_test_id = STANDARD_TEST_ID;
|
||||
|
||||
#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;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user