We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0869fc1 commit 63be585Copy full SHA for 63be585
1 file changed
src/hal/drivers/mesa-hostmot2/stepgen.c
@@ -1179,7 +1179,7 @@ int hm2_stepgen_parse_md(hostmot2_t *hm2, int md_index) {
1179
*hm2->stepgen.instance[i].hal.param.dirsetup = (double)0x3FFF * ((double)1e9 / (double)hm2->stepgen.clock_frequency);
1180
*hm2->stepgen.instance[i].hal.param.dirhold = (double)0x3FFF * ((double)1e9 / (double)hm2->stepgen.clock_frequency);
1181
1182
- hm2->stepgen.instance[i].hal.param.step_type = 0; // step & dir
+ *hm2->stepgen.instance[i].hal.param.step_type = 0; // step & dir
1183
1184
if (hm2->stepgen.firmware_supports_swap) {
1185
hm2->stepgen.instance[i].hal.param.swap_step_dir = 0; // no swap
0 commit comments