Skip to content

Commit

Permalink
MycilaTaskManager 1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieucarbou committed Feb 29, 2024
1 parent dc4ac50 commit 9c076f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ lib_deps =
mathieucarbou/MycilaNTP @ 2.2.1
mathieucarbou/MycilaPZEM004Tv3 @ 1.1.5
mathieucarbou/MycilaRelay @ 3.0.0
mathieucarbou/MycilaTaskManager @ 1.2.1
mathieucarbou/MycilaTaskManager @ 1.2.2
mathieucarbou/MycilaTaskMonitor @ 2.0.0
milesburton/DallasTemperature @ 3.11.0
olikraus/U8g2 @ 2.35.9
Expand Down
4 changes: 2 additions & 2 deletions src/YaSolR_Tasks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
static const Mycila::TaskPredicate DEBUG_ENABLED = []() {
return Mycila::Logger.isDebugEnabled();
};
static const Mycila::TaskDoneCallback LOG_EXEC_TIME = [](const Mycila::Task& me, const int64_t elapsed) {
Mycila::Logger.debug(TAG, "%s in %d ms", me.getName(), elapsed / Mycila::TaskDuration::MILLISECONDS);
static const Mycila::TaskDoneCallback LOG_EXEC_TIME = [](const Mycila::Task& me, const uint32_t elapsed) {
Mycila::Logger.debug(TAG, "%s in %u ms", me.getName(), elapsed / Mycila::TaskDuration::MILLISECONDS);
};

// Core tasks
Expand Down

0 comments on commit 9c076f4

Please sign in to comment.