Idle when thread is not started

This commit is contained in:
2021-12-04 17:40:19 +01:00
parent 368a8a6ae6
commit ebfbee903b

View File

@@ -130,7 +130,7 @@ OtaCloudUpdateStatus EspAsyncOta::status() const
{
if (const auto bits = m_eventGroup.getBits(); !(bits & TASK_RUNNING_BIT))
{
return OtaCloudUpdateStatus::NotReady;
return OtaCloudUpdateStatus::Idle;
}
else if (bits & (START_REQUEST_BIT | REQUEST_RUNNING_BIT))
{