InfiniTime/src/systemtask
Reinhold Gschweicher 187d99c0f7 SystemMonitor: implement FreeRtosMonitor only if trace facility is set
Split SystemMonitor into h and cpp file and move the logging code of the
`Process` function into the cpp file.

Depending of the `configUSE_TRACE_FACILITY` define from
`src/FreeRTOSConfig.h` create either a "FreeRtosMonitor" or a
"DummyMonitor".

Make the `Process()` function non-const, as the FreeRtosMonitor changes
the member variable `lastTick`.

In `SystemTask.h` we then only need to use `SystemMonitor`, without
knowledge of the `configUSE_TRACE_FACILITY` define.
2022-03-08 20:28:54 +01:00
..
Messages.h Merge branch 'airplane-mode' of https://github.com/evergreen22/InfiniTime into evergreen22-airplane-mode 2022-02-20 15:40:49 +01:00
SystemMonitor.cpp SystemMonitor: implement FreeRtosMonitor only if trace facility is set 2022-03-08 20:28:54 +01:00
SystemMonitor.h SystemMonitor: implement FreeRtosMonitor only if trace facility is set 2022-03-08 20:28:54 +01:00
SystemTask.cpp Merge branch 'airplane-mode' of https://github.com/evergreen22/InfiniTime into evergreen22-airplane-mode 2022-02-20 15:40:49 +01:00
SystemTask.h SystemMonitor: implement FreeRtosMonitor only if trace facility is set 2022-03-08 20:28:54 +01:00