-
Notifications
You must be signed in to change notification settings - Fork 620
rosalina: add date and clock in top right corner #2223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 2 commits
9045643
ac819b4
454bc59
e7f3db8
9ba0808
71f575a
37f5477
7d8a563
d0fa5df
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -475,9 +475,13 @@ static void menuDraw(Menu *menu, u32 selected) | |
| int n = sprintf(ipBuffer, "%hhu.%hhu.%hhu.%hhu", addr[0], addr[1], addr[2], addr[3]); | ||
| Draw_DrawString(SCREEN_BOT_WIDTH - 10 - SPACING_X * n, 10, COLOR_WHITE, ipBuffer); | ||
|
||
| } | ||
|
|
||
| else | ||
| Draw_DrawFormattedString(SCREEN_BOT_WIDTH - 10 - SPACING_X * 15, 10, COLOR_WHITE, "%15s", ""); | ||
| { | ||
| char buf[32]; | ||
| u64 timeNow = osGetTime(); | ||
| int n = dateTimeToString(buf, timeNow, false); | ||
|
||
| Draw_DrawString(SCREEN_BOT_WIDTH - 10 - SPACING_X * n, 10, COLOR_WHITE, buf); | ||
|
||
| } | ||
|
|
||
| if(mcuInfoRes == 0) | ||
| { | ||
|
|
||
This comment was marked as duplicate.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.