We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59165ca commit 870326bCopy full SHA for 870326b
shared-module/board/__init__.c
@@ -166,9 +166,9 @@ void reset_board_busses(void) {
166
#endif
167
}
168
169
+ // make sure SPI lock is not held over a soft reset
170
+ common_hal_busio_spi_unlock(&spi_obj);
171
if (!display_using_spi) {
- // make sure lock is not held over a soft reset
- common_hal_busio_spi_unlock(&spi_obj);
172
spi_singleton = NULL;
173
174
0 commit comments