diff --git a/src/systemtask/SystemTask.h b/src/systemtask/SystemTask.h index e2e6de7f..cfad77a9 100644 --- a/src/systemtask/SystemTask.h +++ b/src/systemtask/SystemTask.h @@ -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 monitor; #else SystemMonitor monitor;