Skip to content

Commit

Permalink
%lu instead of %d
Browse files Browse the repository at this point in the history
Updated boards
  • Loading branch information
rzeldent committed Mar 17, 2024
1 parent 6a52c64 commit 0938ec4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void loop()
next_millis = now + 500;

char text_buffer[32];
sprintf(text_buffer, "%d", now);
sprintf(text_buffer, "%lu", now);
lv_label_set_text(ui_lblMillisecondsValue, text_buffer);

#ifdef BOARD_HAS_RGB_LED
Expand Down

0 comments on commit 0938ec4

Please sign in to comment.