Skip to content
Prev Previous commit
renamed forgotten debug functions with new name used to avoid clash
  • Loading branch information
maidnl committed Oct 3, 2024
commit 8530a4aa9b0b3e5cf04e7ec828606ed40b803cd8
2 changes: 1 addition & 1 deletion libraries/Storage/storage_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ static inline void rns_storage_dbg_mem(uint8_t *b, uint32_t _size) {

#ifdef STORAGE_ASSERT
#define MBED_ASSERT(expr) do { if (!(expr)) { \
debug("ASSERT FAILED at line %d in file %s",__LINE__,__FILE__); }} while(0)
rns_storage_dbg("ASSERT FAILED at line %d in file %s",__LINE__,__FILE__); }} while(0)
#else
#define MBED_ASSERT(expr)
#endif
Expand Down