mirror of
https://github.com/meshtastic/firmware.git
synced 2026-01-08 10:57:51 +00:00
Removed Jitter
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user