Skip to content

Commit

Permalink
remove ifndef
Browse files Browse the repository at this point in the history
  • Loading branch information
softwarecrash committed Apr 9, 2024
1 parent f27850f commit a65526e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,6 @@ void getJsonDevice()
deviceJson[F("Flash_Size")] = ESP.getFlashChipSize();
deviceJson[F("Sketch_Size")] = ESP.getSketchSize();
deviceJson[F("Free_Sketch_Space")] = ESP.getFreeSketchSpace();
#ifdef DALY_BMS_DEBUG
deviceJson[F("CPU_Frequency")] = ESP.getCpuFreqMHz();
deviceJson[F("Real_Flash_Size")] = ESP.getFlashChipRealSize();
deviceJson[F("Free_Heap")] = ESP.getFreeHeap();
Expand All @@ -724,7 +723,6 @@ void getJsonDevice()
deviceJson[F("runtime")] = millis() / 1000;
deviceJson[F("ws_clients")] = ws.count();
deviceJson[F("MQTT_Json")] = _settings.data.mqttJson;
#endif
}

void getJsonData()
Expand Down

0 comments on commit a65526e

Please sign in to comment.