From 8fdccde7fb6d0e454dac57a1daa0f58b173e2722 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Fri, 17 Aug 2018 17:47:42 +0200 Subject: [PATCH] Fix String reference --- code/espurna/nofuss.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/espurna/nofuss.ino b/code/espurna/nofuss.ino index e96d44d0..adacd89e 100644 --- a/code/espurna/nofuss.ino +++ b/code/espurna/nofuss.ino @@ -53,7 +53,7 @@ void _nofussConfigure() { } else { char buffer[20]; - snprintf_P(buffer, sizeof(buffer), PSTR("%s-%s"), APP_NAME, getDevice()); + snprintf_P(buffer, sizeof(buffer), PSTR("%s-%s"), APP_NAME, getDevice().c_str()); NoFUSSClient.setServer(nofussServer); NoFUSSClient.setDevice(buffer);