Disable #define ENABLE_MQTT_HOSTNAME_CHIPID as default

* https://github.com/toblum/McLighting/pull/151
This commit is contained in:
debsahu 2018-04-24 16:27:34 -04:00
parent cd4805a728
commit 250981ec4a

View file

@ -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