Easy Training / Training

Dependents:   Easyfit

Revision:
6:f117c1cc9640
Parent:
5:da9b6946a035
Child:
7:e74e7496ac8c
--- a/training.cpp	Wed May 20 19:49:45 2020 +0000
+++ b/training.cpp	Tue May 26 16:09:49 2020 +0000
@@ -69,6 +69,7 @@
 
     if(dist>= POSTOL) {                                                         // counts position fail
         fail_pos++;
+        resetval = 3;
     }
 
     if(data_vec[point_count].end) {                                             // counts time too short and time too long