summaryrefslogtreecommitdiff
path: root/src/Logging/NrfLogger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Logging/NrfLogger.cpp')
-rw-r--r--src/Logging/NrfLogger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Logging/NrfLogger.cpp b/src/Logging/NrfLogger.cpp
index 0663940..1c47a10 100644
--- a/src/Logging/NrfLogger.cpp
+++ b/src/Logging/NrfLogger.cpp
@@ -21,7 +21,7 @@ void NrfLogger::Process(void*) {
NRF_LOG_INFO("Logger task started!");
while (1) {
NRF_LOG_FLUSH();
- vTaskSuspend(nullptr);
+ vTaskDelay(100); // Not good for power consumption, it will wake up every 100ms...
}
}