Skip to content

Commit cd7a4e0

Browse files
committed
fix build error for esp32_idf_V5_1_0
1 parent 6dc08ba commit cd7a4e0

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

examples/StepperDemo/StepperDemo.ino

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,17 @@ const struct stepper_config_s stepper_config[MAX_STEPPER+1] = {
363363
off_delay_ms : 10
364364
},
365365
#endif
366-
{step : PIN_UNDEFINED}
366+
{
367+
step : PIN_UNDEFINED,
368+
enable_low_active : PIN_UNDEFINED,
369+
enable_high_active : PIN_UNDEFINED,
370+
direction : PIN_UNDEFINED,
371+
dir_change_delay : 0,
372+
direction_high_count_up : true,
373+
auto_enable : true,
374+
on_delay_us : 5000,
375+
off_delay_ms : 10
376+
}
367377
};
368378
#elif defined(ARDUINO_ARCH_SAM)
369379
// Hardware configuration copied from esp32 board. Not used on due board

0 commit comments

Comments
 (0)