Cosmetics

This commit is contained in:
3djc
2020-10-17 10:13:39 +02:00
parent b13c383a4d
commit 2c0e4df2eb
+5 -6
View File
@@ -126,13 +126,12 @@ void BitmapBuffer::drawVerticalLine(coord_t x, coord_t y, coord_t h, uint8_t pat
} }
} }
void BitmapBuffer::drawLine(coord_t x1, coord_t y1, coord_t x2, coord_t y2, uint8_t pat, LcdFlags att) void BitmapBuffer::drawLine(coord_t x1, coord_t y1, coord_t x2, coord_t y2, uint8_t pat, LcdFlags att) {
{
// Offsets // Offsets
x1 += this->offsetX; x1 += offsetX;
y1 += this->offsetY; y1 += offsetY;
x2 += this->offsetX; x2 += offsetX;
y2 += this->offsetY; y2 += offsetY;
pixel_t color = lcdColorTable[COLOR_IDX(att)]; pixel_t color = lcdColorTable[COLOR_IDX(att)];