From af061e7f75cd08830fb0bec13764d7e714117559 Mon Sep 17 00:00:00 2001 From: Frank von Zeppelin Date: Sun, 3 Feb 2019 22:07:42 +0100 Subject: [PATCH] fix compiler warnings in Utils --- utility/Utils.cpp | 4 ++-- utility/Utils.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/utility/Utils.cpp b/utility/Utils.cpp index 5b32bad..2109fb9 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(char const *s) { #ifdef VERBOSE_DEBUG Serial.println(s); #endif } - void Log(char*s) + void Log(char const *s) { #ifdef VERBOSE_DEBUG Serial.print(s); diff --git a/utility/Utils.h b/utility/Utils.h index 0b08811..dd8b486 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(char const *s); + void LogLn(char const *s); void Log(int i,char format); void LogLn(int i,char format); void Log(int i);