bugfix - beltstatus overflow

This commit is contained in:
Robert Pelnar 2018-03-01 14:34:21 +01:00
parent 21e4d3b28e
commit fb8a28d120
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ uint8_t tmc2130_sg_thr_home[4] = {3, 3, TMC2130_SG_THRS_Z, TMC2130_SG_THRS_E};
uint8_t sg_homing_axes_mask = 0x00;
uint8_t tmc2130_sg_meassure = 0xff;
uint16_t tmc2130_sg_meassure_cnt = 0;
uint32_t tmc2130_sg_meassure_cnt = 0;
uint32_t tmc2130_sg_meassure_val = 0;
uint8_t tmc2130_home_enabled = 0;

View File

@ -17,7 +17,7 @@ extern bool tmc2130_sg_stop_on_crash;
extern uint8_t tmc2130_sg_crash; //crash mask
extern uint8_t tmc2130_sg_meassure;
extern uint16_t tmc2130_sg_meassure_cnt;
extern uint32_t tmc2130_sg_meassure_cnt;
extern uint32_t tmc2130_sg_meassure_val;
#define TMC2130_MODE_NORMAL 0