mirror of https://github.com/sebmillet/RF433any
ISO C++ forbids declaration of 'fatal' with no type [-fpermissive]
This commit is contained in:
parent
68f0d89732
commit
b91028f4ed
|
@ -40,7 +40,7 @@ extern "C" char* sbrk(int incr);
|
|||
extern char *__brkval;
|
||||
#endif // __arm__
|
||||
|
||||
static fatal(const char* file, long int line, short unsigned len) {
|
||||
static void fatal(const char* file, long int line, short unsigned len) {
|
||||
Serial.print(newline);
|
||||
Serial.print(file);
|
||||
Serial.print(newline);
|
||||
|
|
Loading…
Reference in New Issue