fix div by 0 bug
This commit is contained in:
@@ -10,7 +10,7 @@ typedef struct {
|
||||
GPIO_TypeDef* home_port;
|
||||
uint8_t home_pin;
|
||||
uint8_t homed:1;
|
||||
uint8_t moving:1;
|
||||
uint8_t trigger_step:1;
|
||||
int16_t pos;
|
||||
int16_t speed;
|
||||
int16_t ramp_to_speed;
|
||||
|
||||
Reference in New Issue
Block a user