contains hardfault

This commit is contained in:
2025-05-27 22:53:46 +02:00
parent 5253648cfb
commit facd40cc9d
5 changed files with 19 additions and 12 deletions

View File

@@ -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();