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
wink
firmware
Commits
4a01205c
Verified
Commit
4a01205c
authored
Jul 21, 2019
by
Rahix
Browse files
chore(epicardium): Rename style enums
Signed-off-by:
Rahix
<
rahix@rahix.de
>
parent
8b6240f0
Changes
2
Hide whitespace changes
Inline
Side-by-side
epicardium/epicardium.h
View file @
4a01205c
...
...
@@ -178,7 +178,7 @@ API(API_INTERRUPT_DISABLE, int epic_interrupt_disable(api_int_id_t int_id));
*/
/** Line-Style */
enum
linestyle
_t
{
enum
disp_
linestyle
{
/** */
LINESTYLE_FULL
=
0
,
/** */
...
...
@@ -186,7 +186,7 @@ enum linestyle_t {
};
/** Fill-Style */
enum
fillstyle
_t
{
enum
disp_
fillstyle
{
/** */
FILLSTYLE_EMPTY
=
0
,
/** */
...
...
@@ -269,7 +269,7 @@ API(API_DISP_LINE,
uint16_t
xend
,
uint16_t
yend
,
uint16_t
color
,
enum
linestyle
_t
linestyle
,
enum
disp_
linestyle
linestyle
,
uint16_t
pixelsize
)
);
...
...
@@ -294,7 +294,7 @@ API(API_DISP_RECT,
uint16_t
xend
,
uint16_t
yend
,
uint16_t
color
,
enum
fillstyle
_t
fillstyle
,
enum
disp_
fillstyle
fillstyle
,
uint16_t
pixelsize
)
);
...
...
@@ -317,7 +317,7 @@ API(API_DISP_CIRC,
uint16_t
y
,
uint16_t
rad
,
uint16_t
color
,
enum
fillstyle
_t
fillstyle
,
enum
disp_
fillstyle
fillstyle
,
uint16_t
pixelsize
)
);
...
...
epicardium/modules/display.c
View file @
4a01205c
...
...
@@ -52,7 +52,7 @@ int epic_disp_line(
uint16_t
xend
,
uint16_t
yend
,
uint16_t
color
,
enum
linestyle
_t
linestyle
,
enum
disp_
linestyle
linestyle
,
uint16_t
pixelsize
)
{
int
cl
=
check_lock
();
...
...
@@ -72,7 +72,7 @@ int epic_disp_rect(
uint16_t
xend
,
uint16_t
yend
,
uint16_t
color
,
enum
fillstyle
_t
fillstyle
,
enum
disp_
fillstyle
fillstyle
,
uint16_t
pixelsize
)
{
int
cl
=
check_lock
();
...
...
@@ -91,7 +91,7 @@ int epic_disp_circ(
uint16_t
y
,
uint16_t
rad
,
uint16_t
color
,
enum
fillstyle
_t
fillstyle
,
enum
disp_
fillstyle
fillstyle
,
uint16_t
pixelsize
)
{
int
cl
=
check_lock
();
...
...
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