Remove useless sample code

This commit is contained in:
Tobias Blum 2017-10-25 22:09:06 +02:00 committed by GitHub
parent 27096bb0bf
commit 5665545f8f

View file

@ -376,8 +376,8 @@ void setup() {
server.on("/esp_status", HTTP_GET, []() {
String json = "{";
json += "\"heap\":" + String(ESP.getFreeHeap());
json += ", \"analog\":" + String(analogRead(A0));
json += ", \"gpio\":" + String((uint32_t)(((GPI | GPO) & 0xFFFF) | ((GP16I & 0x01) << 16)));
// json += ", \"analog\":" + String(analogRead(A0));
// json += ", \"gpio\":" + String((uint32_t)(((GPI | GPO) & 0xFFFF) | ((GP16I & 0x01) << 16)));
json += "}";
server.send(200, "text/json", json);
json = String();