Closed 4var1 closed 3 years ago
Thanks - Will make sure I use better commit titles in future now I know where it appears! Have just submitted another tiny update - but at least it changes the last commit name. :) Cheers, Ben
On Thu, 28 Jan 2021 at 17:58, casainho notifications@github.com wrote:
Merged #148 https://github.com/OpenSourceEBike/TSDZ2-Smart-EBike/pull/148 into master.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/OpenSourceEBike/TSDZ2-Smart-EBike/pull/148#event-4262415288, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASRDIVXS37KHW54H6TEL4R3S4GQTXANCNFSM4WXNPMIA .
Amend UART2_RX_IRQHandler - remove state machine, replace with shorter ISR that only writes to ringbuffer and does no processing. Move state machine to new, separate packet_assembler() that reads the buffer and assembles packets for processing - keeps the original state machine algorithm.