Skip to content

Commit

Permalink
hm2/encoder: fix hal_pin access
Browse files Browse the repository at this point in the history
  • Loading branch information
machinekoder committed Mar 26, 2024
1 parent e5e825a commit 8c34475
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ static void hm2_encoder_update_control_register(hostmot2_t *hm2,
);

do_flag(
&hm2->encoder.control_reg[i],
&encoder->control_reg[i],
*e->hal.pin.index_mode,
HM2_ENCODER_INDEX_MODE
);
Expand Down

0 comments on commit 8c34475

Please sign in to comment.