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.
Dependencies: SPI_TFTx2 SPI_TFTx2_ILI9341 TFT_fonts TOUCH_TFTx2 mbed
Fork of CANary_9341 by
Diff: displayModes.cpp
- Revision:
- 60:9d191ff745fb
- Parent:
- 58:4d06288d75a2
- Child:
- 62:ffd15edb5431
diff -r 4d06288d75a2 -r 9d191ff745fb displayModes.cpp
--- a/displayModes.cpp Tue Apr 09 20:09:31 2013 +0000
+++ b/displayModes.cpp Wed Apr 10 04:11:58 2013 +0000
@@ -997,6 +997,9 @@
x2=(column+1)*(320/columns)-btnGap/2;
y1=row*(240/rows)+btnGap/2;
y2=(row+1)*(240/rows)-btnGap/2;
+
+ tt.set_display( cScn ) ;
+
if( tScn == cScn ){
// screens match
if( tScn == 0 )
