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: SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217
Fork of merged_code2_3rd_nov_2017 by
Diff: touch_modules.cpp
- Revision:
- 41:1141a75eacc4
- Parent:
- 38:7238f3531ce9
- Child:
- 49:3ff80c4bc1be
--- a/touch_modules.cpp Sun Aug 20 16:21:54 2017 +0000
+++ b/touch_modules.cpp Fri Sep 08 10:35:21 2017 +0000
@@ -203,17 +203,17 @@
else if ( ((xt >=RETEST_HOME_X_MIN) && (xt<=RETEST_HOME_X_MAX)) && ( (yt>=RETEST_HOME_Y_MIN) && (yt<=RETEST_HOME_Y_MAX) ) ) // RETEST
{
if (type==0)
- state=7;
+ state=7;
else if (type==1)
- state=8;
- else if (type==2)
- state=9;
+ state=8;
+ else if (type==2)
+ state=9;
}
- else if (xt==0 && yt==0)
- {
+ else if (xt==0 && yt==0)
+ {
state=3;
- }
- else
+ }
+ else
state=10;
return state;
}
