battery voltage display
This commit is contained in:
1 parent
fc0bd1f542
commit
969897af4d
3 files changed
+8
-9
No files matched your search
+3
-3
@@ -112,7 +112,7 @@ void refreshDisplay() {
|
||||
// update Battery status (line 2)
|
||||
#ifdef HAS_BATTERY_PROBE
|
||||
u8x8.setCursor(0, 2);
|
||||
u8x8.printf("B=%.1fV", read_voltage() / 1000.0);
|
||||
u8x8.printf("B:%.1fV", read_voltage() / 1000.0);
|
||||
#endif
|
||||
|
||||
// update GPS status (line 2)
|
||||
@@ -121,10 +121,10 @@ void refreshDisplay() {
|
||||
if (!gps.location.isValid()) // if no fix then display Sats value inverse
|
||||
{
|
||||
u8x8.setInverseFont(1);
|
||||
u8x8.printf("Sat %.3d", gps.satellites.value());
|
||||
u8x8.printf("Sat:%.3d", gps.satellites.value());
|
||||
u8x8.setInverseFont(0);
|
||||
} else
|
||||
u8x8.printf("Sat %.3d", gps.satellites.value());
|
||||
u8x8.printf("Sat:%.3d", gps.satellites.value());
|
||||
#endif
|
||||
|
||||
// update bluetooth counter + LoRa SF (line 3)
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
#include <esp32-hal-log.h>
|
||||
|
||||
// attn: increment version after modifications to configData_t truct!
|
||||
#define PROGVERSION "1.3.91" // use max 10 chars here!
|
||||
#define PROGVERSION "1.3.92" // use max 10 chars here!
|
||||
#define PROGNAME "PAXCNT"
|
||||
|
||||
// std::set for unified array functions
|
||||
|
||||
Reference in new issue
Block a user