Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
card10
firmware
Commits
4bc8a9f0
Verified
Commit
4bc8a9f0
authored
Aug 27, 2019
by
Rahix
Browse files
feat(epicardium): Update version-splash color
Signed-off-by:
Rahix
<
rahix@rahix.de
>
parent
d4dc53ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
epicardium/main.c
View file @
4bc8a9f0
...
@@ -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
off
set
=
(
160
-
(
int
)
strlen
(
version_buf
)
*
14
)
/
2
;
const
int
off
=
(
160
-
(
int
)
strlen
(
version_buf
)
*
14
)
/
2
;
epic_disp_clear
(
0x
3b7
);
epic_disp_clear
(
0x
9dc0
);
epic_disp_print
(
10
,
20
,
"Epicardium"
,
0x2
9
0
,
0x
3b7
);
epic_disp_print
(
10
,
20
,
"Epicardium"
,
0x
6c
20
,
0x
9dc0
);
epic_disp_print
(
off
set
>
0
?
off
set
:
0
,
40
,
version_buf
,
0x2
9
0
,
0x
3b7
);
epic_disp_print
(
off
>
0
?
off
:
0
,
40
,
version_buf
,
0x
6c
20
,
0x
9dc0
);
epic_disp_update
();
epic_disp_update
();
mxc_delay
(
2000000
);
mxc_delay
(
2000000
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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