File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
ports/stm/common-hal/busio Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ void common_hal_busio_spi_never_reset(busio_spi_obj_t *self) {
250
250
}
251
251
252
252
bool common_hal_busio_spi_deinited (busio_spi_obj_t * self ) {
253
- return self -> sck -> pin == NULL ;
253
+ return self -> sck == NULL ;
254
254
}
255
255
256
256
void common_hal_busio_spi_deinit (busio_spi_obj_t * self ) {
Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ void common_hal_busio_uart_never_reset(busio_uart_obj_t *self) {
259
259
}
260
260
261
261
bool common_hal_busio_uart_deinited (busio_uart_obj_t * self ) {
262
- return self -> tx -> pin == NULL && self -> rx -> pin == NULL ;
262
+ return self -> tx == NULL && self -> rx == NULL ;
263
263
}
264
264
265
265
void common_hal_busio_uart_deinit (busio_uart_obj_t * self ) {
You can’t perform that action at this time.
0 commit comments