Browse Source

core: fix stdio.h include for assert

pr/spi.typo
Martine Lenders 6 years ago
parent
commit
8406164ece
  1. 2
      core/assert.c
  2. 2
      core/include/assert.h

2
core/assert.c

@ -13,6 +13,8 @@
* @author Martine Lenders <mlenders@inf.fu-berlin.de>
*/
#include <stdio.h>
#include "assert.h"
#ifdef DEBUG_ASSERT_VERBOSE

2
core/include/assert.h

@ -54,8 +54,6 @@ extern const char assert_crash_message[];
#ifdef NDEBUG
#define assert(ignore)((void) 0)
#elif defined(DEBUG_ASSERT_VERBOSE)
#include <stdio.h>
/**
* @brief Function to handle failed assertion
*

Loading…
Cancel
Save