Rihards Balass / 4DGL-mbed-32PTU
Revision:
12:29f5ad896382
Parent:
11:3ebd2263f3e9
Child:
15:86bdf382e6f7
diff -r 3ebd2263f3e9 -r 29f5ad896382 Picaso_4DGL-32PTU_graphics.cpp
--- a/Picaso_4DGL-32PTU_graphics.cpp	Tue Sep 13 11:37:04 2016 +0000
+++ b/Picaso_4DGL-32PTU_graphics.cpp	Wed Sep 14 13:27:37 2016 +0000
@@ -878,22 +878,22 @@
         case 1 :
             command[2] = (LANDSCAPE >> (8*1)) & 0xff;
             command[3] = (LANDSCAPE >> (8*0)) & 0xff;
-            currentOrientation = 1;
+            currentMode = 1;
             break;
         case 2 :
             command[2] = (LANDSCAPE_R >> (8*1)) & 0xff;
             command[3] = (LANDSCAPE_R >> (8*0)) & 0xff;
-            currentOrientation = 2;
+            currentMode = 2;
             break;
         case 3 :
             command[2] = (PORTRAIT >> (8*1)) & 0xff;
             command[3] = (PORTRAIT >> (8*0)) & 0xff;
-            currentOrientation = 3;
+            currentMode = 3;
             break;
         case 4 :
             command[2] = (PORTRAIT_R >> (8*1)) & 0xff;
             command[3] = (PORTRAIT_R >> (8*0)) & 0xff;
-            currentOrientation = 4;
+            currentMode = 4;
             break;
     }