diff --git a/watchX/lib/SSD1306/oled.cpp b/watchX/lib/SSD1306/oled.cpp index ddbb5d2..2670e4d 100644 --- a/watchX/lib/SSD1306/oled.cpp +++ b/watchX/lib/SSD1306/oled.cpp @@ -36,6 +36,7 @@ for( uint8_t i=0; i=64){ + animation_offsetY=0; if(nextUIFunc!=NULL) functions[uiFunc]=nextUIFunc; - nextUIFunc=NULL; + nextUIFunc=NULL; + return; } }else{ @@ -424,9 +434,12 @@ buttonFX(500|((DEVICESTATE&B00000111)*300)); } digitalWrite(LED2,sound.playing()?HIGH: LOW); + drawLoop(); +if(millis()-_tm>30){ + _tm=millis(); +} - drawLoop();