tinymovr / Tinymovr

Compact brushless motor controller with FOC, integrated absolute encoder and CAN Bus.
https://tinymovr.com
GNU General Public License v3.0
245 stars 43 forks source link

Refactor comms processing #228

Open yconst opened 1 year ago

yconst commented 1 year ago

Referencing PR #225 , message reception of CAN messages should be performed in the interrupt handler, and stored in a ring buffer. Then further processing, including sending a reply if necessary will be performed in the main loop.