vedderb / bldc

The VESC motor control firmware
2.18k stars 1.35k forks source link

typo fix for custom encoder read callback #594

Closed lrnd closed 1 year ago

lrnd commented 1 year ago

I believe there is a typo in encoder.c for the encoder read callback. The type needs to change to allow custom implementation

lrnd commented 1 year ago

I have tested this change using a vesc_package to set custom encoder callbacks, it works