Easy Training / Training

Dependents:   Easyfit

Revision:
5:da9b6946a035
Parent:
4:4e871024310a
Child:
6:f117c1cc9640
--- a/training.cpp	Sun May 17 18:53:41 2020 +0000
+++ b/training.cpp	Wed May 20 19:49:45 2020 +0000
@@ -104,8 +104,9 @@
 
 void training::end_training(string name)
 {
-    // writhe status to memory / update memory
-    fail_pos = 0;
+    loading.SpeichernDaten(tr_name, repet, "TRAININGSOMATINATOR 3000", repet*3, fail_pos, time_short, time_long, 1, 1, 1, 1 );
+    
+    fail_pos = 0;                                                              // reset all parameters
     time_short = 0;
     time_long = 0;
     point_count = 0;