Re #1875 and #1849: implemented LCD initialization for low temperatures. Initialization skipped in case of watchdog reset or boot-loader exit.

This commit is contained in:
Damjan Adamic
2014-12-03 21:14:07 +01:00
parent e19684063a
commit a539add020
8 changed files with 118 additions and 45 deletions
+8 -1
View File
@@ -282,9 +282,16 @@ void lcd_img(coord_t x, coord_t y, const pm_uchar * img, uint8_t idx, LcdFlags a
#endif
void lcdSetRefVolt(unsigned char val);
void lcdInit();
void lcd_clear();
void lcdSetContrast();
#if defined(PCBTARANIS)
void lcdInitStart();
void lcdInitFinish();
void lcdOff();
#else
void lcdInit();
#define lcdOff()
#endif
#if defined(PCBTARANIS) && defined(REVPLUS) && !defined(SIMU)
void lcdRefresh(bool wait=true);