Change to RGB as updated in #143

This commit is contained in:
Bodmer 2018-05-20 22:33:43 +01:00 committed by GitHub
parent a3107d7ed2
commit af5a193bad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@
colstart = 0;
rowstart = 32;
} else if(tabcolor == INITB) {
writedata(TFT_MAD_MX | TFT_MAD_BGR);
writedata(TFT_MAD_MX | TFT_MAD_RGB);
} else {
writedata(TFT_MAD_MX | TFT_MAD_MY | TFT_MAD_BGR);
}
@ -44,7 +44,7 @@
colstart = 32;
rowstart = 0;
} else if(tabcolor == INITB) {
writedata(TFT_MAD_MV | TFT_MAD_MX | TFT_MAD_MY | TFT_MAD_BGR);
writedata(TFT_MAD_MV | TFT_MAD_MX | TFT_MAD_MY | TFT_MAD_RGB);
} else {
writedata(TFT_MAD_MY | TFT_MAD_MV | TFT_MAD_BGR);
}