Improve logging if Autostart is not enabled. Renamed/splitted functions (#2376)

Co-authored-by: CaCO3 <caco@ruinelli.ch>
This commit is contained in:
CaCO3
2023-05-01 22:16:48 +02:00
committed by GitHub
parent 9fc876853b
commit 6a45ab7693
5 changed files with 30 additions and 15 deletions

View File

@@ -190,10 +190,15 @@ void ClassFlowControll::SetInitialParameter(void)
}
bool ClassFlowControll::isAutoStart(long &_interval)
bool ClassFlowControll::getIsAutoStart(void)
{
return AutoStart;
}
void ClassFlowControll::setAutoStartInterval(long &_interval)
{
_interval = AutoInterval * 60 * 1000; // AutoInterval: minutes -> ms
return AutoStart;
}