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.
Diff: training.h
- Revision:
- 3:1ce1b3915621
- Parent:
- 2:0df0d0be0664
- Child:
- 4:4e871024310a
--- a/training.h Wed Apr 29 08:31:33 2020 +0000
+++ b/training.h Sat May 02 13:01:37 2020 +0000
@@ -37,7 +37,7 @@
#define LONGMAX 5 // max time to long
#define FAILPOSMAX 100 // max position fails
-struct posdata{
+struct posdata1{
int time;
int hi, low;
bool end, start;
@@ -57,7 +57,7 @@
private:
- std::vector<posdata> data_vec; // dynamic array for trainings data
+ std::vector<posdata1> data_vec; // dynamic array for trainings data
int fail_pos;
int time_short;
int time_long;
@@ -65,7 +65,7 @@
int point_count;
memory loading;
string tr_name;
- struct posdata temp;
+ struct posdata1 temp;
int status_array[4];
};