From b91028f4ed43bf1ba8eaa1735491a1d790ad322e Mon Sep 17 00:00:00 2001 From: alex-eri Date: Fri, 21 Oct 2022 10:37:09 +0300 Subject: [PATCH] ISO C++ forbids declaration of 'fatal' with no type [-fpermissive] --- RF433Debug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RF433Debug.cpp b/RF433Debug.cpp index e1a7c37..5edf9f4 100644 --- a/RF433Debug.cpp +++ b/RF433Debug.cpp @@ -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);