v.0.0.6 source cleanup in drawText
This commit is contained in:
@@ -77,8 +77,7 @@ void LedMatrix::drawText(int x, int y, const char *text, CRGB color)
|
||||
int cursorX = x;
|
||||
for (int i = 0; text[i] != '\0'; i++)
|
||||
{
|
||||
drawChar(cursorX, y, text[i], color);
|
||||
uint8_t chr_width = drawChar(cursorX, 8 + y, text[i], color);
|
||||
uint8_t chr_width = drawChar(cursorX, y, text[i], color);
|
||||
// cursorX += 6; // 5 pixels width + 1 pixel spacing
|
||||
cursorX += (chr_width + 1); // 5 pixels width + 1 pixel spacing
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user