Skip to content

Commit 5065c93

Browse files
authored
Merge branch 'espressif:release/v4.4' into release/v4.4
2 parents 55566c5 + bd5f10b commit 5065c93

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

examples/bluetooth/nimble/blemesh/main/app_mesh.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ static int recent_test_id = STANDARD_TEST_ID;
4444

4545
#define FAULT_ARR_SIZE 2
4646

47+
#ifndef min
48+
#define min(a, b) ((a) < (b) ? (a) : (b))
49+
#endif
50+
51+
#ifndef max
52+
#define max(a, b) ((a) > (b) ? (a) : (b))
53+
#endif
54+
4755
static bool has_reg_fault = true;
4856

4957

0 commit comments

Comments
 (0)