diff --git a/src/ClockClient.h b/src/ClockClient.h index 623edbc..f14ec39 100644 --- a/src/ClockClient.h +++ b/src/ClockClient.h @@ -26,6 +26,7 @@ class ClockClient void begin(); void loop(); static void setListenToClock(const char *_name) { name = String(_name); } + static void setListenToClock(String _name) { name = String(_name); } static const char * const getLastMessage(); static String const getText() { return text; } static String const getClock() { return clock; } diff --git a/src/main.cpp b/src/main.cpp index 9410ef4..e9b51a5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -107,11 +107,6 @@ const char _FORM_UTC_OFFSET[] PROGMEM = "