Merge pull request #223 from tannewt/baudrate_fix
atmel-samd: Remember SPI baudrate.
This commit is contained in:
commit
c01bf678fd
@ -174,6 +174,7 @@ bool common_hal_busio_spi_configure(busio_spi_obj_t *self,
|
||||
if (status != STATUS_OK) {
|
||||
return false;
|
||||
}
|
||||
self->current_baudrate = baudrate;
|
||||
}
|
||||
|
||||
SercomSpi *const spi_module = &(self->spi_master_instance.hw->SPI);
|
||||
|
Loading…
Reference in New Issue
Block a user