Skip to content
Snippets Groups Projects
Verified Commit 6ff83564 authored by egorguslyan's avatar egorguslyan
Browse files

Blinking homeScreen fix

parent 7391e312
No related branches found
No related tags found
1 merge request!3Manual sleep
......@@ -563,7 +563,7 @@ void loop()
static uint32_t timer5 = 0;
TIMER(timer5, 20000)
{
if(!globalVars.noAutoChangeScreen)
if(!globalVars.noAutoChangeScreen && globalVars.currentScreen != homeScreen)
{
matrix.clear();
globalVars.currentScreen = homeScreen;
......@@ -611,7 +611,7 @@ void loop()
globalVars.pomodoroTimer = 0;
tb.resetTimers();
#if(DEBUG)
timer_debug0 = 0;
timer_debug0 = 0;
#endif
timer0 = 0;
timer1 = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment