mirror of
https://github.com/skoelle/m5stack-dashboard.git
synced 2026-09-17 16:50:23 +00:00
fix build
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# AGENTS.md
|
||||
|
||||
## Build Command
|
||||
|
||||
```sh
|
||||
.venv-platformio/bin/pio run
|
||||
```
|
||||
@@ -13,9 +13,6 @@ WeatherData fetchWeather() {
|
||||
|
||||
data.willRainSoon = doc["willRainSoon"] | false;
|
||||
|
||||
JsonObject current = doc["current"];
|
||||
if (deserializeJson(doc, res.body)) { data.valid = false; return data; }
|
||||
|
||||
JsonObject current = doc["current"];
|
||||
data.current.temperature = current["temperature"] | 0;
|
||||
data.current.symbol = current["symbol"] | "";
|
||||
|
||||
Reference in New Issue
Block a user