fix(colorlcd): Not all detected sensors displayed at detection time (#3328)
This commit is contained in:
@@ -524,8 +524,11 @@ ModelTelemetryPage::ModelTelemetryPage() :
|
||||
|
||||
void ModelTelemetryPage::checkEvents()
|
||||
{
|
||||
if (lastKnownIndex >= 0 && lastKnownIndex != availableTelemetryIndex()) {
|
||||
int _lastKnownIndex = availableTelemetryIndex();
|
||||
|
||||
if (lastKnownIndex >= 0 && lastKnownIndex != _lastKnownIndex) {
|
||||
rebuild(window);
|
||||
lastKnownIndex = _lastKnownIndex;
|
||||
}
|
||||
|
||||
PageTab::checkEvents();
|
||||
|
||||
Reference in New Issue
Block a user