5 more files removed

This commit is contained in:
bsongis
2014-03-04 18:31:12 +01:00
parent 9cdd175250
commit 3788f5f562
13 changed files with 77 additions and 1268 deletions
+5 -1
View File
@@ -9,7 +9,7 @@
******************************************************************************
*/
#include "../opentx.h"
#include "../../opentx.h"
#define WriteData(x) AspiData(x)
#define WriteCommand(x) AspiCmd(x)
@@ -21,7 +21,11 @@ static void LCD_Init()
AspiCmd(0x25); //Temperature compensation curve definition: 0x25 = -0.05%/oC
AspiCmd(0xEA); //set bias=1/10 :Command table NO.27
AspiCmd(0x81); //Set Vop
#if defined(BOOT)
AspiCmd(CONTRAST_OFS);
#else
AspiCmd(g_eeGeneral.contrast+CONTRAST_OFS); //0--255
#endif
AspiCmd(0xA6); //inverse display off
AspiCmd(0xD1); //SET RGB:Command table NO.21 .SET RGB or BGR. D1=RGB
AspiCmd(0xD5); //set color mode 4K and 12bits :Command table NO.22