Skip to content

Commit

Permalink
Merge branch 'bugfix/remove_global_min_max_def_v4.4' into 'release/v4.4'
Browse files Browse the repository at this point in the history
Nimble: Removes global min/max definition causing problems with other libraries(v4.4)

See merge request espressif/esp-idf!25472
  • Loading branch information
rahult-github committed Aug 24, 2023
2 parents b9e8e0e + 6d6a0ed commit bd5f10b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions examples/bluetooth/nimble/blemesh/main/app_mesh.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;


Expand Down

0 comments on commit bd5f10b

Please sign in to comment.