fixes now compiles

This commit is contained in:
grcasanova
2020-07-06 10:45:55 +02:00
parent d5b8038457
commit 92b30ebec6
29 changed files with 111 additions and 76 deletions

View File

@@ -1,7 +1,7 @@
#include "PeriodicScheduler.h"
#include "PeriodicTask.h"
#include "LockGuard.h"
#include "../time.h"
#include "../timing.h"
namespace concurrency {
@@ -10,7 +10,7 @@ void PeriodicScheduler::loop()
{
LockGuard lg(&lock);
uint32_t now = time::millis();
uint32_t now = timing::millis();
for (auto t : tasks) {
if (t->period && (now - t->lastMsec) >= t->period) {