Closed valentink-eroad closed 2 years ago
Tested the change on my STM32L051T6 board with serial_dma_async example.
I also had to fix the serial_dma_async itself as the heapless Queue::new() creates a queue with capacity N-1: https://docs.rs/heapless/0.7.1/heapless/spsc/struct.Queue.html#method.new
Queue::new()
N-1
Sorry, missed to switch to my personal Git account, so the PR is created from my 'work' profile
Tested the change on my STM32L051T6 board with serial_dma_async example.
I also had to fix the serial_dma_async itself as the heapless
Queue::new()
creates a queue with capacityN-1
: https://docs.rs/heapless/0.7.1/heapless/spsc/struct.Queue.html#method.new