LCD_DUAL_BUFFER optional (speed vs RAM)
This commit is contained in:
@@ -180,6 +180,13 @@ void Set_Address(u8 x, u8 y)
|
||||
|
||||
volatile bool lcd_busy;
|
||||
|
||||
#if !defined(LCD_DUAL_BUFFER)
|
||||
void lcdWaitDmaEnd()
|
||||
{
|
||||
WAIT_FOR_DMA_END();
|
||||
}
|
||||
#endif
|
||||
|
||||
void lcdRefresh(bool wait)
|
||||
{
|
||||
//wait if previous DMA transfer still active
|
||||
|
||||
Reference in New Issue
Block a user