Skip to content

Commit f6081e8

Browse files
committed
Update PicoW_YBox3.ino
1 parent c5e1f5b commit f6081e8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

PicoW_YBox3/PicoW_YBox3.ino

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ void loop() {
151151
bgy = miny, // Y relative to background bitmap (>= 0)
152152
x, y, bx1, bgx1; // Loop counters and working vars
153153
uint8_t p; // 'packed' value of 2 ball pixels
154-
int8_t bufIdx = 0;
155154

156155
uint8_t *buf = display.getBuffer(); // -> back buffer
157156

@@ -195,7 +194,7 @@ void loop() {
195194
if (httpResponseCode > 0) {
196195
String payload = http.getString();
197196
Serial.println(payload);
198-
DynamicJsonDocument doc(1024);
197+
JsonDocument doc(1024);
199198
DeserializationError error = deserializeJson(doc, payload);
200199
if (!error) {
201200
if (channelNow == "weather") {

0 commit comments

Comments
 (0)