fix ybox3
This commit is contained in:
parent
f6081e8407
commit
ccaf807c94
2 changed files with 2 additions and 1 deletions
|
|
@ -151,6 +151,7 @@ void loop() {
|
||||||
bgy = miny, // Y relative to background bitmap (>= 0)
|
bgy = miny, // Y relative to background bitmap (>= 0)
|
||||||
x, y, bx1, bgx1; // Loop counters and working vars
|
x, y, bx1, bgx1; // Loop counters and working vars
|
||||||
uint8_t p; // 'packed' value of 2 ball pixels
|
uint8_t p; // 'packed' value of 2 ball pixels
|
||||||
|
int8_t bufIdx = 0;
|
||||||
|
|
||||||
uint8_t *buf = display.getBuffer(); // -> back buffer
|
uint8_t *buf = display.getBuffer(); // -> back buffer
|
||||||
|
|
||||||
|
|
@ -194,7 +195,7 @@ void loop() {
|
||||||
if (httpResponseCode > 0) {
|
if (httpResponseCode > 0) {
|
||||||
String payload = http.getString();
|
String payload = http.getString();
|
||||||
Serial.println(payload);
|
Serial.println(payload);
|
||||||
JsonDocument doc(1024);
|
DynamicJsonDocument doc(1024);
|
||||||
DeserializationError error = deserializeJson(doc, payload);
|
DeserializationError error = deserializeJson(doc, payload);
|
||||||
if (!error) {
|
if (!error) {
|
||||||
if (channelNow == "weather") {
|
if (channelNow == "weather") {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue