Merge pull request #3378 from DavePutz/issue3266
Fix for #3266: ensure SPI lock is free after a soft reboot
This commit is contained in:
commit
01daf5b8ce
|
@ -166,6 +166,8 @@ void reset_board_busses(void) {
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
// make sure SPI lock is not held over a soft reset
|
||||||
|
common_hal_busio_spi_unlock(&spi_obj);
|
||||||
if (!display_using_spi) {
|
if (!display_using_spi) {
|
||||||
spi_singleton = NULL;
|
spi_singleton = NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue