File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change
1
+ 0.33.7:
2
+ - esp32: Fix overwriting of max speed with 1kstep/s. esp32 issue reported in #335
3
+
1
4
0.33.6:
2
5
- pico2: support for PICO 2350 SDK (#334 )
3
6
Original file line number Diff line number Diff line change @@ -304,9 +304,7 @@ bool StepperQueue::getActualTicksWithDirection(struct actual_ticks_s* speed) {
304
304
305
305
void StepperQueue::_initVars () {
306
306
dirPin = PIN_UNDEFINED;
307
- #ifndef TEST
308
- max_speed_in_ticks = TICKS_PER_S / 1000 ; // use a default value 1_000 steps/s
309
- #else
307
+ #ifdef TEST
310
308
max_speed_in_ticks =
311
309
TICKS_PER_S / 50000 ; // use a default value 50_000 steps/s
312
310
#endif
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ class StepperQueue {
120
120
#endif
121
121
122
122
struct queue_end_s queue_end;
123
- uint16_t max_speed_in_ticks;
123
+ uint16_t max_speed_in_ticks = TICKS_PER_S / 1000 ; // use a default value 1_000 steps/s
124
124
125
125
bool init (FastAccelStepperEngine* engine, uint8_t queue_num,
126
126
uint8_t step_pin);
You can’t perform that action at this time.
0 commit comments