Easy Training / Training

Dependents:   Easyfit

Revision:
4:4e871024310a
Parent:
3:1ce1b3915621
Child:
7:e74e7496ac8c
diff -r 1ce1b3915621 -r 4e871024310a training.h
--- a/training.h	Sat May 02 13:01:37 2020 +0000
+++ b/training.h	Sun May 17 18:53:41 2020 +0000
@@ -51,7 +51,7 @@
     training(void);
     void load_training(string name);                                            // loads a training from the sd card into the flash
     void start_training(void);                                                  // sets all parameters to begin training
-    void compire_point(float posx,float posy,float posz, int time);             // compairs curent point to memory point and counts repetitions
+    int compire_point(float posx,float posy,float posz, int time);             // compairs curent point to memory point and counts repetitions
     void end_training(string name);                                             // creates a feedback and stores it into the SD card
     int* get_status(void);                                                      // returns a pointer to an int array with fail pot, time short, time long, pointcount