File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ void DisplayApp::Process(void* instance) {
8686 // Send a dummy notification to unlock the lvgl display driver for the first iteration
8787 xTaskNotifyGive (xTaskGetCurrentTaskHandle ());
8888
89- while (1 ) {
89+ while (true ) {
9090 app->Refresh ();
9191 }
9292}
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ void DisplayApp::Process(void* instance) {
3737 xTaskNotifyGive (xTaskGetCurrentTaskHandle ());
3838
3939 app->InitHw ();
40- while (1 ) {
40+ while (true ) {
4141 app->Refresh ();
4242 }
4343}
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ void NrfLogger::Process(void*) {
2222// Suppress endless loop diagnostic
2323#pragma clang diagnostic push
2424#pragma ide diagnostic ignored "EndlessLoop"
25- while (1 ) {
25+ while (true ) {
2626 NRF_LOG_FLUSH ();
2727 vTaskDelay (100 ); // Not good for power consumption, it will wake up every 100ms...
2828 }
You can’t perform that action at this time.
0 commit comments