Merge pull request #349 from Avamander/patch-2
Switched to booleans for infinite while loops
This commit is contained in:
commit
204d63697c
3 changed files with 3 additions and 3 deletions
|
|
@ -86,7 +86,7 @@ void DisplayApp::Process(void* instance) {
|
|||
// Send a dummy notification to unlock the lvgl display driver for the first iteration
|
||||
xTaskNotifyGive(xTaskGetCurrentTaskHandle());
|
||||
|
||||
while (1) {
|
||||
while (true) {
|
||||
app->Refresh();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ void DisplayApp::Process(void* instance) {
|
|||
xTaskNotifyGive(xTaskGetCurrentTaskHandle());
|
||||
|
||||
app->InitHw();
|
||||
while (1) {
|
||||
while (true) {
|
||||
app->Refresh();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue