HOSTNAME is %s
This commit is contained in:
parent
d2fd2a9543
commit
267a8f0f2e
1 changed files with 1 additions and 1 deletions
|
@ -426,7 +426,7 @@ void setup() {
|
||||||
// Configure MQTT
|
// Configure MQTT
|
||||||
// ***************************************************************************
|
// ***************************************************************************
|
||||||
#ifdef ENABLE_MQTT_HOSTNAME_CHIPID
|
#ifdef ENABLE_MQTT_HOSTNAME_CHIPID
|
||||||
snprintf(mqtt_clientid, 64, "%u-%08X", HOSTNAME, ESP.getChipId());
|
snprintf(mqtt_clientid, 64, "%s-%08X", HOSTNAME, ESP.getChipId());
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef ENABLE_MQTT
|
#ifdef ENABLE_MQTT
|
||||||
|
|
Loading…
Reference in a new issue