Minor formatting, diagnostic and documentation changes
This commit is contained in:
@@ -19,10 +19,15 @@ void NrfLogger::Init() {
|
||||
|
||||
void NrfLogger::Process(void*) {
|
||||
NRF_LOG_INFO("Logger task started!");
|
||||
// Suppress endless loop diagnostic
|
||||
#pragma clang diagnostic push
|
||||
#pragma ide diagnostic ignored "EndlessLoop"
|
||||
while (1) {
|
||||
NRF_LOG_FLUSH();
|
||||
vTaskDelay(100); // Not good for power consumption, it will wake up every 100ms...
|
||||
}
|
||||
// Clear diagnostic suppression
|
||||
#pragma clang diagnostic pop
|
||||
}
|
||||
|
||||
void NrfLogger::Resume() {
|
||||
|
Reference in New Issue
Block a user