mirror of
https://github.com/lora-aprs/LoRa_APRS_iGate.git
synced 2025-12-06 07:42:00 +01:00
fixing cppcheck
This commit is contained in:
parent
8cf0c67683
commit
54a1e5bac7
|
|
@ -90,12 +90,8 @@ void StatusFrame::drawStatusPage(Bitmap & bitmap)
|
||||||
|
|
||||||
bool StatusFrame::isPrio() const
|
bool StatusFrame::isPrio() const
|
||||||
{
|
{
|
||||||
for(std::shared_ptr<Task> task : _tasks)
|
return std::any_of(_tasks.begin(), _tasks.end(), [](std::shared_ptr<Task> task)
|
||||||
{
|
{
|
||||||
if(task->getState() != Okay)
|
return task->getState() != Okay;
|
||||||
{
|
});
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue