Skip to content
This repository has been archived by the owner on Apr 28, 2022. It is now read-only.

Commit

Permalink
HOSTNAME is %s
Browse files Browse the repository at this point in the history
  • Loading branch information
debsahu committed Dec 3, 2018
1 parent d2fd2a9 commit 267a8f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Arduino/McLighting/McLighting.ino
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ void setup() {
// Configure MQTT
// ***************************************************************************
#ifdef ENABLE_MQTT_HOSTNAME_CHIPID
snprintf(mqtt_clientid, 64, "%u-%08X", HOSTNAME, ESP.getChipId());
snprintf(mqtt_clientid, 64, "%s-%08X", HOSTNAME, ESP.getChipId());
#endif

#ifdef ENABLE_MQTT
Expand Down

0 comments on commit 267a8f0

Please sign in to comment.