Idle for SEN5X on communication error

This commit is contained in:
oscgonfer 2025-07-18 01:03:50 +02:00
parent ae995083e0
commit 9f3b7d99f7

View File

@ -657,9 +657,11 @@ bool SEN5XSensor::getMetrics(meshtastic_Telemetry *measurement)
} else if (response == 1) {
// TODO return because data was not ready yet
// Should this return false?
idle();
return false;
} else if (response == 2) {
// Return with error for non-existing data
idle();
return false;
}