Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Picaso_4DGL-32PTU_graphics.cpp
- Revision:
- 12:29f5ad896382
- Parent:
- 11:3ebd2263f3e9
- Child:
- 15:86bdf382e6f7
--- 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;
}