Compare commits

..

1 Commits

Author SHA1 Message Date
3705ed2623 Async SPI working 2025-04-04 10:59:51 +02:00

View File

@@ -441,6 +441,8 @@ impl Future for SpiFuture {
impl Drop for SpiFuture {
fn drop(&mut self) {
if !self.finished_regularly.get() {
// It might be sufficient to disable and enable the SPI.. But this definitely
// ensures the SPI is fully reset.
self.spi.reset_and_reconfigure(self.config);
}
}