KSM edits to RA8875

Dependents:   Liz_Test_Code

Revision:
139:99ec74e3273f
Parent:
131:5bd6ba2ee4a1
Child:
140:33ca352755a2
--- a/RA8875.cpp	Sat Aug 13 16:35:07 2016 +0000
+++ b/RA8875.cpp	Tue Dec 27 15:29:04 2016 +0000
@@ -1655,9 +1655,9 @@
     dstPoint.x &= 0x3FF;
     dstPoint.y &= 0x1FF;
     WriteCommandW(0x54, srcPoint.x);
-    WriteCommandW(0x56, ((srcLayer & 1) << 7) | srcPoint.y);
+    WriteCommandW(0x56, ((srcLayer & 1) << 15) | srcPoint.y);
     WriteCommandW(0x58, dstPoint.x);
-    WriteCommandW(0x5A, ((dstLayer & 1) << 7) | dstPoint.y);
+    WriteCommandW(0x5A, ((dstLayer & 1) << 15) | dstPoint.y);
     WriteCommandW(0x5C, bte_width);
     WriteCommandW(0x5E, bte_height);
     WriteCommand(0x51,  ((bte_rop_code & 0x0F) << 4) | (bte_op_code & 0x0F));