From 23df52cbb69a5414d37d91cfceac963c26bdb302 Mon Sep 17 00:00:00 2001 From: Dirk Jahnke Date: Thu, 6 Jun 2019 22:15:29 +0200 Subject: [PATCH] Fixed: Change config of fastclock name did apply to fastclock. --- src/ClockClient.h | 1 + src/main.cpp | 13 ++++++++----- 2 files changed, 9 insertions(+), 5 deletions(-) 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 = "