Skip to content

Commit

Permalink
Merge pull request #396 from machinekoder/fix-hm2-encoder
Browse files Browse the repository at this point in the history
hm2/encoder: fix hal_pin access
  • Loading branch information
luminize committed Mar 26, 2024
2 parents e5e825a + 8c34475 commit dd9b188
Showing 1 changed file with 1 addition and 1 deletion.
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 dd9b188

Please sign in to comment.