Skip to content

Commit

Permalink
doom: fix FPS display
Browse files Browse the repository at this point in the history
  • Loading branch information
and3rson committed Mar 10, 2024
1 parent b97fed7 commit c766408
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions firmware/doom/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,9 @@ void drawTask(void* arg) {
}
lilka::display.endWrite();
lilka::display.setTextBound(0, 0, LILKA_DISPLAY_WIDTH, LILKA_DISPLAY_HEIGHT);
lilka::display.setCursor(32, 0);
lilka::display.setCursor(32, 16);
lilka::display.setTextColor(lilka::display.color565(255, 255, 255), lilka::display.color565(0, 0, 0));
lilka::display.setFont(u8g2_font_10x20_t_cyrillic);
lilka::display.setFont(FONT_6x12);
lilka::display.print(" FPS: ");
lilka::display.print(1000 / delta);
lilka::display.print(" ");
Expand Down

0 comments on commit c766408

Please sign in to comment.