forked from BSB-WS23/mpstubs
13 lines
370 B
C++
13 lines
370 B
C++
#include "assert.h"
|
|
|
|
[[noreturn]] void assertion_failed(const char * exp, const char * func, const char * file, int line) {
|
|
(void) exp;
|
|
(void) func;
|
|
(void) file;
|
|
(void) line;
|
|
// TODO: Print error message (in debug window)
|
|
// TODO: Then stop the current core permanently
|
|
// Use appropriate method from class Core to do so.
|
|
while(true) {} // wait forever
|
|
}
|