![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
created separate function for hex to char
Dependencies: SDFileSystem ds3231 eeprom_Nikita mbed testUniGraphic_150217
Fork of SS_SensePOC2P0_11Dec2017_USERPID 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; }