1
0
Fork 0
InfiniTime/src
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
..
buttonhandler ButtonHandler: includes relative to src dir 2022-01-16 20:59:49 +01:00
components Add missing nrf_log.h includes shadowed by SystemMonitor.h 2022-03-08 20:28:54 +01:00
displayapp removed SetClockFace from watchface Constructors 2022-03-03 21:20:22 +01:00
drivers Merge pull request #531 from hatmajster/heart-rate-gain-setting 2022-01-26 21:44:23 +01:00
FreeRTOS Remove debug defines (DEBUG & DEBUG_NRF_USER) from the build. These debug can be useful for debugging purposes but not in production (release). (#400) 2021-06-01 21:02:15 +02:00
heartratetask changed ReadHrs and ReadAls to uint32, and did static_cast instead of hidden cast when using it 2021-12-13 12:47:52 +02:00
libs Merge branch 'develop' into patch-weather 2021-12-09 22:20:29 +02:00
logging Removed redundant comments from NrfLogger 2021-12-04 22:03:40 +02:00
systemtask SystemMonitor: implement FreeRtosMonitor only if trace facility is set 2022-03-08 20:28:54 +01:00
touchhandler TouchHandler: remove unused FreeRTOS.h and task.h includes from header 2021-12-09 21:30:20 +01:00
BootErrors.h Automatic error detection 2021-08-18 15:23:30 +03:00
BootloaderVersion.cpp SPI flash sleep if bootloader >= 1.0.0 (#322) 2021-06-26 20:53:32 +02:00
BootloaderVersion.h Add missing standard includes 2021-11-15 22:02:49 +01:00
CMakeLists.txt SystemMonitor: implement FreeRtosMonitor only if trace facility is set 2022-03-08 20:28:54 +01:00
FreeRTOSConfig.h LVGL use system tick 2021-07-07 15:47:47 +03:00
main.cpp Provide reference to BrightnessController in DisplayApp 2022-02-19 20:46:45 +01:00
main.h Include cleanup: components 2020-11-16 01:35:45 +01:00
recoveryLoader.cpp Revert "Merge upstream" 2021-09-16 16:12:20 -04:00
sdk_config.h Connect and bond with a passkey 2021-12-09 21:14:16 +01:00
Version.h.in Add missing standard includes 2021-11-15 22:02:49 +01:00