diff --git a/DCF77.cpp b/DCF77.cpp index ccfb47b..0192f48 100644 --- a/DCF77.cpp +++ b/DCF77.cpp @@ -270,7 +270,6 @@ bool DCF77::processBuffer(void) { // Calculate parities for checking buffer calculateBufferParities(); tmElements_t time; - bool proccessedSucces; struct DCF77Buffer *rx_buffer; rx_buffer = (struct DCF77Buffer *)(unsigned long long)&processingBuffer; diff --git a/utility/Utils.cpp b/utility/Utils.cpp index 5b32bad..29fc643 100644 --- a/utility/Utils.cpp +++ b/utility/Utils.cpp @@ -5,14 +5,14 @@ namespace Utils { #define DEBUG_BLINK_PIN 13 // Connected to debug led //#define VERBOSE_DEBUG 1 // Verbose - void LogLn(char*s) + void LogLn(const char*s) { #ifdef VERBOSE_DEBUG Serial.println(s); #endif } - void Log(char*s) + void Log(const char*s) { #ifdef VERBOSE_DEBUG Serial.print(s); diff --git a/utility/Utils.h b/utility/Utils.h index 0b08811..7cb2da0 100644 --- a/utility/Utils.h +++ b/utility/Utils.h @@ -12,8 +12,8 @@ #define intRestore(sreg) SREG = sreg namespace Utils { - void Log(char*s); - void LogLn(char*s); + void Log(const char*s); + void LogLn(const char*s); void Log(int i,char format); void LogLn(int i,char format); void Log(int i);