Skip to content

Commit 437261e

Browse files
authored
Merge pull request #1395 from NickeZ/nickez/fix-duplicate-asserts
newlib-compat: macro conflict between asf4 and std
2 parents 54383fb + ee55076 commit 437261e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

external/asf4-drivers/hal/utils/include/utils_assert.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ extern "C" {
4444
//# define USE_SIMPLE_ASSERT
4545
#endif
4646

47+
// Bitbox modification. `utils_assert.h` is not compatible with std `assert.h`
48+
#undef assert
49+
4750
/**
4851
* \brief Assert macro
4952
*

0 commit comments

Comments
 (0)