aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vote/vote.ino3
1 files changed, 2 insertions, 1 deletions
diff --git a/vote/vote.ino b/vote/vote.ino
index caa4fbc..bce78ef 100644
--- a/vote/vote.ino
+++ b/vote/vote.ino
@@ -191,7 +191,8 @@ class MyAdvertisedDeviceCallbacks : public BLEAdvertisedDeviceCallbacks {
String id_mangled = advertisedDevice.getName();
id_mangled.replace(' ', '_');
id_mangled.replace(':', '=');
- Serial.println(id_mangled + ":" + EddystoneTLM.getTemp());
+ Serial.printf("%s:%d\n",
+ id_mangled.c_str(), EddystoneTLM.getTemp());
#endif
unsigned long now = millis();