Fixes #179 - Blinking in tty is irregular

This commit is contained in:
Stefan Arentz 2017-10-15 17:02:22 -04:00
parent d2a8386f72
commit 6e32724ffa
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ void ewm_tty_refresh(struct ewm_tty_t *tty, uint32_t phase, uint32_t fps) {
}
}
if (phase != 0 && fps != 0) {
if (fps != 0) {
if ((phase % (fps / 4)) == 0) {
tty->screen_cursor_blink = !tty->screen_cursor_blink;
}