Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stefan Haun
firmware
Commits
6d6d45eb
Verified
Commit
6d6d45eb
authored
Aug 28, 2019
by
Rahix
Browse files
feat(epicardium): Adjust version-splash colors
Signed-off-by:
Rahix
<
rahix@rahix.de
>
parent
63086117
Changes
1
Hide whitespace changes
Inline
Side-by-side
epicardium/main.c
View file @
6d6d45eb
...
...
@@ -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
(
0x
9dc
0
);
epic_disp_print
(
10
,
20
,
"Epicardium"
,
0x
6c
20
,
0x
9dc
0
);
epic_disp_print
(
off
>
0
?
off
:
0
,
40
,
version_buf
,
0x
6c
20
,
0x
9dc
0
);
epic_disp_clear
(
0x
000
0
);
epic_disp_print
(
10
,
20
,
"Epicardium"
,
0x
fe
20
,
0x
000
0
);
epic_disp_print
(
off
>
0
?
off
:
0
,
40
,
version_buf
,
0x
fe
20
,
0x
000
0
);
epic_disp_update
();
mxc_delay
(
2000000
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment