projects
/
hackover2013-badge-firmware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added PWM cmd (thanks Miceuz)
[hackover2013-badge-firmware.git]
/
project
/
commands
/
drawing
/
cmd_button.c
diff --git
a/project/commands/drawing/cmd_button.c
b/project/commands/drawing/cmd_button.c
index
bfa321b
..
9af4310
100644
(file)
--- a/
project/commands/drawing/cmd_button.c
+++ b/
project/commands/drawing/cmd_button.c
@@
-74,7
+74,7
@@
void cmd_button(uint8_t argc, char **argv)
if (argc == 5)
{
// Render the button with no text
if (argc == 5)
{
// Render the button with no text
- buttonRender(x, y, w, h, (uint16_t)fontcolor, NULL,
THEME_DEFAULT
);
+ buttonRender(x, y, w, h, (uint16_t)fontcolor, NULL,
themeGetDefault()
);
}
else
{
}
else
{
@@
-91,7
+91,7
@@
void cmd_button(uint8_t argc, char **argv)
*data_ptr++ = '\0';
// Render the button with text
*data_ptr++ = '\0';
// Render the button with text
- buttonRender(x, y, w, h, (uint16_t)fontcolor, (char *)&data,
THEME_DEFAULT
);
+ buttonRender(x, y, w, h, (uint16_t)fontcolor, (char *)&data,
themeGetDefault()
);
}
}
}
}
This page took
0.027777 seconds
and
4
git commands to generate.