Skip to content

Commit a9f257b

Browse files
committed
Store host_id so that never reset works
1 parent 03e5043 commit a9f257b

File tree

1 file changed

+1
-0
lines changed
  • ports/esp32s2/common-hal/busio

1 file changed

+1
-0
lines changed

ports/esp32s2/common-hal/busio/SPI.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ void common_hal_busio_spi_construct(busio_spi_obj_t *self,
160160
self->clock_pin = clock;
161161
self->MOSI_pin = mosi;
162162
self->MISO_pin = miso;
163+
self->host_id = host_id;
163164

164165
spi_bus_lock_dev_config_t config = { .flags = 0 };
165166
// The returned lock is stored in the bus lock but must be freed separately with

0 commit comments

Comments
 (0)