LCD_DUAL_BUFFER optional (speed vs RAM)

This commit is contained in:
Damjan Adamic
2014-12-06 18:19:32 +01:00
parent e4de0da0bb
commit f2ed441916
6 changed files with 52 additions and 19 deletions
+7
View File
@@ -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