Removed redundant comments from NrfLogger
This commit is contained in:
parent
1d3f0dfa9e
commit
eb27813c18
1 changed files with 1 additions and 2 deletions
|
@ -19,14 +19,13 @@ void NrfLogger::Init() {
|
||||||
|
|
||||||
void NrfLogger::Process(void*) {
|
void NrfLogger::Process(void*) {
|
||||||
NRF_LOG_INFO("Logger task started!");
|
NRF_LOG_INFO("Logger task started!");
|
||||||
// Suppress endless loop diagnostic
|
|
||||||
#pragma clang diagnostic push
|
#pragma clang diagnostic push
|
||||||
#pragma ide diagnostic ignored "EndlessLoop"
|
#pragma ide diagnostic ignored "EndlessLoop"
|
||||||
while (true) {
|
while (true) {
|
||||||
NRF_LOG_FLUSH();
|
NRF_LOG_FLUSH();
|
||||||
vTaskDelay(100); // Not good for power consumption, it will wake up every 100ms...
|
vTaskDelay(100); // Not good for power consumption, it will wake up every 100ms...
|
||||||
}
|
}
|
||||||
// Clear diagnostic suppression
|
|
||||||
#pragma clang diagnostic pop
|
#pragma clang diagnostic pop
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue