X-Git-Url: https://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/3a4d8a99f885909119362e3b9b9b587315d74ad7..5930ee7b5f395480627184dbeb1363b6e629729d:/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 --- 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 - buttonRender(x, y, w, h, (uint16_t)fontcolor, NULL, THEME_DEFAULT); + buttonRender(x, y, w, h, (uint16_t)fontcolor, NULL, themeGetDefault()); } else { @@ -91,7 +91,7 @@ void cmd_button(uint8_t argc, char **argv) *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()); } }