contains hardfault
This commit is contained in:
@@ -12,11 +12,13 @@ typedef struct {
|
||||
uint8_t homed:1;
|
||||
uint8_t trigger_step:1;
|
||||
int16_t pos;
|
||||
int16_t speed;
|
||||
int16_t ramp_to_speed;
|
||||
int32_t speed;
|
||||
int32_t ramp_to_speed;
|
||||
uint32_t next_step;
|
||||
} stepper_T;
|
||||
|
||||
|
||||
#define STEPPER_SPEED_LIMIT 300
|
||||
|
||||
void Timer1_Init(void);
|
||||
void stepper_gpio_init();
|
||||
void do_steps();
|
||||
|
||||
Reference in New Issue
Block a user