HyperDisplay_SSD1309_ArduinoLibrary
HyperDisplay_SSD1309_ArduinoLibrary copied to clipboard
SSD1309::lineClear does nothing
Subject of the issue
No change on screen when SSD1309::lineClear is called.
The current code is:
void SSD1309::lineClear(hd_extent_t x0, hd_extent_t y0, hd_extent_t x1, hd_extent_t y1, uint16_t width)
{
SSD1309_Bite_t pix;
pix.bite = 0x00;
}
Obviously, this line of code is missing:
line( x0, y0, x1, y1, width, (color_t)&pix);
It works fine with it.