Unverified Commit af5a193b authored by Bodmer's avatar Bodmer Committed by GitHub

Change to RGB as updated in #143

parent a3107d7e
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
colstart = 0; colstart = 0;
rowstart = 32; rowstart = 32;
} else if(tabcolor == INITB) { } else if(tabcolor == INITB) {
writedata(TFT_MAD_MX | TFT_MAD_BGR); writedata(TFT_MAD_MX | TFT_MAD_RGB);
} else { } else {
writedata(TFT_MAD_MX | TFT_MAD_MY | TFT_MAD_BGR); writedata(TFT_MAD_MX | TFT_MAD_MY | TFT_MAD_BGR);
} }
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
colstart = 32; colstart = 32;
rowstart = 0; rowstart = 0;
} else if(tabcolor == INITB) { } 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 { } else {
writedata(TFT_MAD_MY | TFT_MAD_MV | TFT_MAD_BGR); writedata(TFT_MAD_MY | TFT_MAD_MV | TFT_MAD_BGR);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment