LCD asynchronous refresh prepared for Taranis+

This commit is contained in:
bsongis
2014-07-05 19:32:00 +02:00
parent 838190ce80
commit f66388c1d3
3 changed files with 11 additions and 3 deletions
+8 -1
View File
@@ -264,7 +264,14 @@ void lcdSetRefVolt(unsigned char val);
void lcdInit();
void lcd_clear();
void lcdSetContrast();
void lcdRefresh();
#if defined(PCBTARANIS) && defined(REVPLUS) && !defined(SIMU)
void lcdRefresh(bool wait=true);
#define LCD_REFRESH_DONT_WAIT false
#else
void lcdRefresh();
#define LCD_REFRESH_DONT_WAIT
#endif
#if defined(PCBTARANIS)
const pm_char * bmpLoad(uint8_t *dest, const char *filename, const xcoord_t width, const uint8_t height);