Skip to content
Snippets Groups Projects
Verified Commit 6d6d45eb authored by rahix's avatar rahix
Browse files

feat(epicardium): Adjust version-splash colors


Signed-off-by: default avatarRahix <rahix@rahix.de>
parent 63086117
No related branches found
No related tags found
No related merge requests found
......@@ -28,9 +28,9 @@ int main(void)
*/
const char *version_buf = CARD10_VERSION;
const int off = (160 - (int)strlen(version_buf) * 14) / 2;
epic_disp_clear(0x9dc0);
epic_disp_print(10, 20, "Epicardium", 0x6c20, 0x9dc0);
epic_disp_print(off > 0 ? off : 0, 40, version_buf, 0x6c20, 0x9dc0);
epic_disp_clear(0x0000);
epic_disp_print(10, 20, "Epicardium", 0xfe20, 0x0000);
epic_disp_print(off > 0 ? off : 0, 40, version_buf, 0xfe20, 0x0000);
epic_disp_update();
mxc_delay(2000000);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment