Deallocate resources on SerialPIO::end #596

Merged
earlephilhower merged 1 commits from piou into master 2022-05-25 13:08:50 +03:00
1 Commits
Author SHA1 Message Date
Earle F. Philhower, III 22b559f8c0 Deallocate resources on SerialPIO::end
Fixes #593

When SerialPIO::end is called, stop the PIO SMs and potentially
disable the IRQ handler if this is the last RX port on that PIO.
2022-05-24 09:02:43 -07:00