kopia lustrzana https://github.com/OpenRTX/OpenRTX
Fixed bug in UC1701 preventing some settings to be correctly applied
rodzic
50841f40ff
commit
c87f178823
|
@ -88,7 +88,7 @@ void display_init()
|
|||
gpio_setPin(LCD_RST);
|
||||
delayMs(5);
|
||||
|
||||
gpio_clearPin(LCD_CS);
|
||||
gpio_clearPin(LCD_CS); /* Bring down CS and keep it low from now on */
|
||||
|
||||
gpio_clearPin(LCD_RS); /* RS low -> command mode */
|
||||
sendByteToController(0x2F); /* Voltage Follower On */
|
||||
|
@ -152,9 +152,7 @@ void display_renderRows(uint8_t startRow, uint8_t endRow)
|
|||
|
||||
void display_render()
|
||||
{
|
||||
gpio_clearPin(LCD_CS);
|
||||
display_renderRows(0, SCREEN_HEIGHT / 8);
|
||||
gpio_setPin(LCD_CS);
|
||||
}
|
||||
|
||||
bool display_renderingInProgress()
|
||||
|
|
Ładowanie…
Reference in New Issue