mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-17 10:56:10 +02:00
added different pinout for ESP32 #286
This commit is contained in:
parent
427d1a9ba5
commit
202d883f38
2 changed files with 58 additions and 21 deletions
|
@ -147,6 +147,11 @@ void webApi::getSystem(JsonObject obj) {
|
|||
obj[F("ts_sun_upd")] = mApp->getLatestSunTimestamp();
|
||||
obj[F("wifi_rssi")] = WiFi.RSSI();
|
||||
obj[F("disclaimer")] = mConfig->disclaimer;
|
||||
#if defined(ESP32)
|
||||
obj[F("esp_type")] = F("ESP32");
|
||||
#else
|
||||
obj[F("esp_type")] = F("ESP8266");
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue