Do not build FreeRtosMonitor when logging is not enabled.
This commit is contained in:
parent
a162ec67ce
commit
f7e01c5143
@ -147,7 +147,7 @@ namespace Pinetime {
|
||||
bool stepCounterMustBeReset = false;
|
||||
static constexpr TickType_t batteryMeasurementPeriod = pdMS_TO_TICKS(10 * 60 * 1000);
|
||||
|
||||
#if configUSE_TRACE_FACILITY == 1
|
||||
#if configUSE_TRACE_FACILITY == 1 && NRF_LOG_ENABLED == 1
|
||||
SystemMonitor<FreeRtosMonitor> monitor;
|
||||
#else
|
||||
SystemMonitor<DummyMonitor> monitor;
|
||||
|
Loading…
Reference in New Issue
Block a user