X-Git-Url: http://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/d19f4b4179a1411a64017294a366dd78b1adee22..1ee47540d67648bc4f9f530c62bc96f29b53e2f6:/drivers/lcd/tft/drawing.c diff --git a/drivers/lcd/tft/drawing.c b/drivers/lcd/tft/drawing.c index a6701ab..e90a8e6 100644 --- a/drivers/lcd/tft/drawing.c +++ b/drivers/lcd/tft/drawing.c @@ -350,7 +350,7 @@ void drawString(uint16_t x, uint16_t y, uint16_t color, const FONT_INFO *fontInf // Send individual characters // We need to manually calculate width in pages since this is screwy with variable width fonts //uint8_t heightPages = charWidth % 8 ? charWidth / 8 : charWidth / 8 + 1; - drawCharBitmap(currentX, y, color, &fontInfo->data[charOffset], charWidth, fontInfo->height); + drawCharBitmap(currentX, y, color, (const char *)(&fontInfo->data[charOffset]), charWidth, fontInfo->height); // next char X currentX += charWidth + 1;