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() {
|
void MqttCheckSubscription() {
|
||||||
if (MqttConnect() == 0) {
|
if (MqttConnect() == 0) {
|
||||||
Adafruit_MQTT_Subscribe *subscription;
|
Adafruit_MQTT_Subscribe *subscription;
|
||||||
while (subscription = mqtt->readSubscription(0)) {
|
while ((subscription = mqtt->readSubscription(0))) {
|
||||||
int gpio = getGpioFromSubscription(subscription);
|
int gpio = getGpioFromSubscription(subscription);
|
||||||
SKETCH_DEBUG_PRINT("Got Subscription for gpio ");
|
SKETCH_DEBUG_PRINT("Got Subscription for gpio ");
|
||||||
SKETCH_DEBUG_PRINTLN(gpio);
|
SKETCH_DEBUG_PRINTLN(gpio);
|
||||||
|
@ -33,6 +33,7 @@ void WebHandleRoot() {
|
|||||||
#endif
|
#endif
|
||||||
"Free space: " + ESP.getFreeSketchSpace() + "<br/>"
|
"Free space: " + ESP.getFreeSketchSpace() + "<br/>"
|
||||||
"Free heap: " + ESP.getFreeHeap() + "<br/>"
|
"Free heap: " + ESP.getFreeHeap() + "<br/>"
|
||||||
|
"Build the " + __DATE__ + " at " + __TIME__ + "<br/>"
|
||||||
"</fieldset>"
|
"</fieldset>"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user