Minor formatting, diagnostic and documentation changes
This commit is contained in:
parent
bb72712d37
commit
f68c7b65b3
5 changed files with 31 additions and 11 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue