Include build date into web interface
This commit is contained in:
parent
ae6e03d67e
commit
beae8b335b
@ -156,7 +156,7 @@ void MqttChangeGpioValue(int gpio, int value) {
|
||||
void MqttCheckSubscription() {
|
||||
if (MqttConnect() == 0) {
|
||||
Adafruit_MQTT_Subscribe *subscription;
|
||||
while (subscription = mqtt->readSubscription(0)) {
|
||||
while ((subscription = mqtt->readSubscription(0))) {
|
||||
int gpio = getGpioFromSubscription(subscription);
|
||||
SKETCH_DEBUG_PRINT("Got Subscription for gpio ");
|
||||
SKETCH_DEBUG_PRINTLN(gpio);
|
||||
|
@ -33,6 +33,7 @@ void WebHandleRoot() {
|
||||
#endif
|
||||
"Free space: " + ESP.getFreeSketchSpace() + "<br/>"
|
||||
"Free heap: " + ESP.getFreeHeap() + "<br/>"
|
||||
"Build the " + __DATE__ + " at " + __TIME__ + "<br/>"
|
||||
"</fieldset>"
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user