begin cleanup of sleep code for new state machine

This commit is contained in:
geeksville
2020-02-21 17:01:26 -08:00
parent 4fa6b64c3d
commit 045529d91f
11 changed files with 345 additions and 269 deletions

View File

@@ -173,7 +173,7 @@ uint32_t sendOwnerCb()
{
service.sendOurOwner();
return radioConfig.preferences.send_owner_secs * 1000;
return radioConfig.preferences.send_owner_interval * radioConfig.preferences.position_broadcast_secs * 1000;
}
Periodic sendOwnerPeriod(sendOwnerCb);