fixed divide by zero issue
This commit is contained in:
parent
80a6e99e17
commit
a0b4778bbe
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ void LedDisplayController::disp_start_set()
|
||||||
void LedDisplayController::disp_scroll_text()
|
void LedDisplayController::disp_scroll_text()
|
||||||
{
|
{
|
||||||
|
|
||||||
if (millis() - last_display_show_ms > display_show_wait_ms)
|
if (millis() - last_display_show_ms > display_show_wait_ms && text_sets.sets[text_curr_nr].scrollSpeed != 0)
|
||||||
{
|
{
|
||||||
|
|
||||||
last_display_show_ms = millis();
|
last_display_show_ms = millis();
|
||||||
|
|
Loading…
Reference in a new issue