mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 10:47:19 +02:00
fix(nimble): Removed global min/max definition causing problems with other libraries
This commit is contained in:
Submodule components/bt/host/nimble/nimble updated: 8dda9024c9...6669d8b418
@ -44,8 +44,15 @@ static int recent_test_id = STANDARD_TEST_ID;
|
|||||||
|
|
||||||
#define FAULT_ARR_SIZE 2
|
#define FAULT_ARR_SIZE 2
|
||||||
|
|
||||||
static bool has_reg_fault = true;
|
#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 struct bt_mesh_cfg_srv cfg_srv = {
|
static struct bt_mesh_cfg_srv cfg_srv = {
|
||||||
.relay = BT_MESH_RELAY_DISABLED,
|
.relay = BT_MESH_RELAY_DISABLED,
|
||||||
|
Reference in New Issue
Block a user