Verified Commit 4bc8a9f0 authored by Rahix's avatar Rahix
Browse files

feat(epicardium): Update version-splash color


Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
parent d4dc53ab
...@@ -24,10 +24,10 @@ int main(void) ...@@ -24,10 +24,10 @@ int main(void)
* Version Splash * Version Splash
*/ */
const char *version_buf = CARD10_VERSION; const char *version_buf = CARD10_VERSION;
const int offset = (160 - (int)strlen(version_buf) * 14) / 2; const int off = (160 - (int)strlen(version_buf) * 14) / 2;
epic_disp_clear(0x3b7); epic_disp_clear(0x9dc0);
epic_disp_print(10, 20, "Epicardium", 0x290, 0x3b7); epic_disp_print(10, 20, "Epicardium", 0x6c20, 0x9dc0);
epic_disp_print(offset > 0 ? offset : 0, 40, version_buf, 0x290, 0x3b7); epic_disp_print(off > 0 ? off : 0, 40, version_buf, 0x6c20, 0x9dc0);
epic_disp_update(); epic_disp_update();
mxc_delay(2000000); mxc_delay(2000000);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment