ISO C++ forbids declaration of 'fatal' with no type [-fpermissive]

This commit is contained in:
alex-eri 2022-10-21 10:37:09 +03:00 committed by GitHub
parent 68f0d89732
commit b91028f4ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);