Removed Jitter

This commit is contained in:
HarukiToreda
2025-05-07 02:49:11 -04:00
parent 0a61ea4137
commit 4e8ae7b108
3 changed files with 5 additions and 7 deletions

View File

@@ -418,7 +418,7 @@ void EnvironmentTelemetryModule::drawFrame(OLEDDisplay *display, OLEDDisplayUiSt
uint32_t now = millis();
bool isOwnTelemetry = lastMeasurementPacket->from == nodeDB->getNodeNum();
bool isIAQAlert = m.iaq > 100 && (now - lastAlertTime > 60000);
bool isIAQAlert = m.iaq > 200 && (now - lastAlertTime > 60000);
if (isOwnTelemetry && isIAQAlert) {
LOG_INFO("drawFrame: IAQ %d (own) — showing banner", m.iaq);