X-Git-Url: https://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/a7be12a4e68fcaaa92f81a394bc316a592ec6270..277c38b5c941330bcba626fd3c22dfba0e0e0be4:/project/commands/drawing/cmd_button.c diff --git a/project/commands/drawing/cmd_button.c b/project/commands/drawing/cmd_button.c index a418e14..6dcd77c 100644 --- a/project/commands/drawing/cmd_button.c +++ b/project/commands/drawing/cmd_button.c @@ -76,7 +76,7 @@ void cmd_button(uint8_t argc, char **argv) if (argc == 7) { // Render the button with no text - drawButton(x, y, w, h, &dejaVuSans9ptFontInfo, 7, (uint16_t)border, (uint16_t)fill, (uint16_t)font, NULL); + drawButton(x, y, w, h, &dejaVuSans9ptFontInfo, (uint16_t)border, (uint16_t)fill, (uint16_t)font, NULL); } else { @@ -93,7 +93,7 @@ void cmd_button(uint8_t argc, char **argv) *data_ptr++ = '\0'; // Render the button with text - drawButton(x, y, w, h, &dejaVuSans9ptFontInfo, 7, (uint16_t)border, (uint16_t)fill, (uint16_t)font, (char *)&data); + drawButton(x, y, w, h, &dejaVuSans9ptFontInfo, (uint16_t)border, (uint16_t)fill, (uint16_t)font, (char *)&data); } }