MCPcopy Create free account
hub / github.com/bmorcelli/Launcher / initDisplayLoop

Function initDisplayLoop

src/display.cpp:275–284  ·  view source on GitHub ↗

** Function name: initDisplayLoop ** Description: Start Display functions and display bootscreen ***************************************************************************************/

Source from the content-addressed store, hash-verified

273** Description: Start Display functions and display bootscreen
274***************************************************************************************/
275void initDisplayLoop() {
276 tft->fillScreen(BGCOLOR);
277 initDisplay(true);
278 vTaskDelay(pdTICKS_TO_MS(250));
279 while (!check(AnyKeyPress)) {
280 initDisplay();
281 vTaskDelay(pdTICKS_TO_MS(50));
282 }
283 returnToMenu = true;
284}
285
286/***************************************************************************************
287** Function name: displayCurrentVersion

Callers 1

settings_menuFunction · 0.85

Calls 3

initDisplayFunction · 0.85
checkFunction · 0.85
fillScreenMethod · 0.45

Tested by

no test coverage detected