Disable #define ENABLE_MQTT_HOSTNAME_CHIPID as default
* https://github.com/toblum/McLighting/pull/151
This commit is contained in:
parent
cd4805a728
commit
250981ec4a
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ uint32_t autoParams[][4] = { // color, speed, mode, duration (seconds)
|
|||
uint16_t color_temp = 327; // min is 154 and max is 500
|
||||
#endif
|
||||
|
||||
#define ENABLE_MQTT_HOSTNAME_CHIPID // Uncomment/comment to add ESPChipID to end of MQTT hostname
|
||||
//#define ENABLE_MQTT_HOSTNAME_CHIPID // Uncomment/comment to add ESPChipID to end of MQTT hostname
|
||||
#ifdef ENABLE_MQTT_HOSTNAME_CHIPID
|
||||
const char* mqtt_clientid = String(String(HOSTNAME) + "-" + String(ESP.getChipId())).c_str(); // MQTT ClientID
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue