Merge pull request #7 from alex-eri/patch-1

ISO C++ forbids declaration of 'fatal' with no type [-fpermissive]
This commit is contained in:
sebmillet 2022-11-01 09:48:01 +01:00 committed by GitHub
commit e1fab220ae
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);