Merge branch 'bugfix/remove_global_min_max_def_v5.0' into 'release/v5.0'

Nimble: Removes global min/max definition causing problems with other libraries (v5.0)

See merge request espressif/esp-idf!21817
This commit is contained in:
Jiang Jiang Jian 2023-02-27 15:11:28 +08:00
commit 5ca38da869
2 changed files with 9 additions and 1 deletions

@ -1 +1 @@
Subproject commit 9a355b2b597a66868aed37e1ebccb0c274aaa252
Subproject commit 56ff5b83337697895997a39bf6593255cdc37268

View File

@ -43,6 +43,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;
static int