fixed output center coordinate format, fixed disconnection of canserver @ each error

This commit is contained in:
2021-10-20 09:40:38 +03:00
parent 68449bef89
commit 31a5aeaa93
3 changed files with 43 additions and 11 deletions

View File

@@ -21,6 +21,9 @@
#include "improc.h"
// set state to `disconnect` after this amount of errors in `moving_finished`
#define MAX_ERR_CTR (15)
extern steppersproc pusyCANbus;
// try to connect to local pusirobo server