add mutex to pusirobo sending commands

This commit is contained in:
2021-07-21 17:14:38 +03:00
parent b32ca38018
commit cbf42d86e5
3 changed files with 23 additions and 7 deletions

View File

@@ -23,6 +23,7 @@
// min/max total steps range
#define MINSTEPS (100)
#define MAXSTEPS (50000)
#define Fmaxsteps (64000)
// steps per pixel
#define COEFMIN (0.1)
#define COEFMAX (10000)
@@ -56,6 +57,8 @@
typedef struct{
int maxUsteps; // max amount of steps by both axes
int maxVsteps;
int maxFpos; // min/max F position (in microsteps) - user can't change this
int minFpos;
int minarea; // min/max area of star image
int maxarea;
int Nerosions; // amount of erosions/dilations