mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-22 05:16:11 +02:00
0.8.51
fix display (wrong correction) fix dependency (GxEPD2)
This commit is contained in:
parent
ed3e93274e
commit
9f39e5c150
2 changed files with 6 additions and 6 deletions
|
@ -32,7 +32,7 @@ lib_deps =
|
||||||
bblanchon/ArduinoJson @ ^6.21.3
|
bblanchon/ArduinoJson @ ^6.21.3
|
||||||
https://github.com/JChristensen/Timezone @ ^1.2.4
|
https://github.com/JChristensen/Timezone @ ^1.2.4
|
||||||
olikraus/U8g2 @ ^2.35.9
|
olikraus/U8g2 @ ^2.35.9
|
||||||
https://github.com/zinggjm/GxEPD2 @ ^1.5.3
|
https://github.com/zinggjm/GxEPD2#1.5.3
|
||||||
build_flags =
|
build_flags =
|
||||||
-std=c++17
|
-std=c++17
|
||||||
-std=gnu++17
|
-std=gnu++17
|
||||||
|
@ -151,7 +151,7 @@ lib_deps =
|
||||||
bblanchon/ArduinoJson @ ^6.21.3
|
bblanchon/ArduinoJson @ ^6.21.3
|
||||||
https://github.com/JChristensen/Timezone @ ^1.2.4
|
https://github.com/JChristensen/Timezone @ ^1.2.4
|
||||||
olikraus/U8g2 @ ^2.35.9
|
olikraus/U8g2 @ ^2.35.9
|
||||||
https://github.com/zinggjm/GxEPD2 @ ^1.5.3
|
https://github.com/zinggjm/GxEPD2#1.5.3
|
||||||
build_flags = ${env.build_flags}
|
build_flags = ${env.build_flags}
|
||||||
-D ETHERNET
|
-D ETHERNET
|
||||||
-DRELEASE
|
-DRELEASE
|
||||||
|
@ -173,7 +173,7 @@ lib_deps =
|
||||||
bblanchon/ArduinoJson @ ^6.21.3
|
bblanchon/ArduinoJson @ ^6.21.3
|
||||||
https://github.com/JChristensen/Timezone @ ^1.2.4
|
https://github.com/JChristensen/Timezone @ ^1.2.4
|
||||||
olikraus/U8g2 @ ^2.35.9
|
olikraus/U8g2 @ ^2.35.9
|
||||||
https://github.com/zinggjm/GxEPD2 @ ^1.5.3
|
https://github.com/zinggjm/GxEPD2#1.5.3
|
||||||
build_flags = ${env.build_flags}
|
build_flags = ${env.build_flags}
|
||||||
-D ETHERNET
|
-D ETHERNET
|
||||||
-DRELEASE
|
-DRELEASE
|
||||||
|
@ -321,7 +321,7 @@ lib_deps =
|
||||||
bblanchon/ArduinoJson @ ^6.21.3
|
bblanchon/ArduinoJson @ ^6.21.3
|
||||||
https://github.com/JChristensen/Timezone @ ^1.2.4
|
https://github.com/JChristensen/Timezone @ ^1.2.4
|
||||||
olikraus/U8g2 @ ^2.35.9
|
olikraus/U8g2 @ ^2.35.9
|
||||||
https://github.com/zinggjm/GxEPD2 @ ^1.5.3
|
https://github.com/zinggjm/GxEPD2#1.5.3
|
||||||
upload_protocol = esp-builtin
|
upload_protocol = esp-builtin
|
||||||
build_flags = ${env.build_flags}
|
build_flags = ${env.build_flags}
|
||||||
-DETHERNET
|
-DETHERNET
|
||||||
|
@ -363,7 +363,7 @@ lib_deps =
|
||||||
bblanchon/ArduinoJson @ ^6.21.3
|
bblanchon/ArduinoJson @ ^6.21.3
|
||||||
https://github.com/JChristensen/Timezone @ ^1.2.4
|
https://github.com/JChristensen/Timezone @ ^1.2.4
|
||||||
olikraus/U8g2 @ ^2.35.9
|
olikraus/U8g2 @ ^2.35.9
|
||||||
https://github.com/zinggjm/GxEPD2 @ ^1.5.3
|
https://github.com/zinggjm/GxEPD2#1.5.3
|
||||||
upload_protocol = esp-builtin
|
upload_protocol = esp-builtin
|
||||||
build_flags = ${env.build_flags}
|
build_flags = ${env.build_flags}
|
||||||
-DETHERNET
|
-DETHERNET
|
||||||
|
|
|
@ -207,7 +207,7 @@ class DisplayMono {
|
||||||
mDisplay->drawLine(xoff, yoff, xoff + mPgWidth, yoff); // horizontal axis
|
mDisplay->drawLine(xoff, yoff, xoff + mPgWidth, yoff); // horizontal axis
|
||||||
|
|
||||||
// do not draw as long as time is not set correctly and no data was received
|
// do not draw as long as time is not set correctly and no data was received
|
||||||
if ((mDisplayData->pGraphStartTime == 0) || (mDisplayData->pGraphEndTime == 0) || (mDisplayData->utcTs != 0) || (mPgMaxPwr != 0) || (mPgLastPos != 0))
|
if ((mDisplayData->pGraphStartTime == 0) || (mDisplayData->pGraphEndTime == 0) || (mDisplayData->utcTs < 1) || (mPgMaxPwr < 1) || (mPgLastPos < 1))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// draw X scale
|
// draw X scale
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue