implement ScreenSaver in simulator
set ruth to stub only, because of cross compile error Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
@@ -16,11 +16,7 @@ SplashScreen::SplashScreen(menu_options_t *options) : Widget(options->u8g2), m_o
|
||||
void SplashScreen::update(const uint64_t dt)
|
||||
{
|
||||
counter += dt;
|
||||
#ifndef ESP32
|
||||
if (counter > 3000)
|
||||
#else
|
||||
if (counter > 10)
|
||||
#endif
|
||||
if (counter >= 3000)
|
||||
{
|
||||
counter = 0;
|
||||
if (m_options && m_options->setScreen)
|
||||
|
Reference in New Issue
Block a user