mirror of
https://github.com/InfiniTimeOrg/InfiniTime.git
synced 2024-10-22 15:11:51 +02:00
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 a new issue