Update Display_Graphic.cpp

This commit is contained in:
Benoit Leforestier 2024-06-22 11:54:13 +02:00
parent 1ed3cbf2eb
commit 21b96d924e

View File

@ -209,7 +209,7 @@ void DisplayGraphicClass::loop()
bool displayPowerSave = false;
bool showText = true;
bool displayPowerMeter = _mExtra % (10 * 2) < 10 && JsyMk.isInitialised(); // Every 10 seconds, swap screen
bool displayPowerMeter = (_mExtra % (10 * 2) < 10 || !Datastore.getIsAtLeastOneReachable()) && JsyMk.isInitialised(); // Every 10 seconds, swap screen
if (displayPowerMeter) {
const float watts = std::fabs(JsyMk.getFieldValue(0, JsyMkClass::Field_t::POWER));