Skip to content

Commit

Permalink
assert replacement requires _F() macro - not always defined (#1914)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikee47 authored and slaff committed Oct 27, 2019
1 parent cf03104 commit c17aeb4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Sming/Arch/Esp8266/System/include/assert.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@
#ifndef NDEBUG
#undef assert
#define assert(__e) ((__e) ? (void)0 : __assert_func(__FILE__, __LINE__, __ASSERT_FUNC, _F(#__e)))

#include <FakePgmSpace.h>

#endif

0 comments on commit c17aeb4

Please sign in to comment.