Skip to content

Commit

Permalink
Correctly initialise animation timer for printChar() Fix #463
Browse files Browse the repository at this point in the history
  • Loading branch information
finneyj committed Apr 21, 2020
1 parent dd339a7 commit 0fd4a80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/drivers/MicroBitDisplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ int MicroBitDisplay::printCharAsync(char c, int delay)
if (delay > 0)
{
animationDelay = delay;
animationTick = delay-1;
animationTick = 0;
animationMode = ANIMATION_MODE_PRINT_CHARACTER;
}
}
Expand Down

0 comments on commit 0fd4a80

Please sign in to comment.