8000 Merge pull request #223 from tannewt/baudrate_fix · ladyada/circuitpython@c01bf67 · GitHub
[go: up one dir, main page]

Skip to content

Commit c01bf67

Browse files
authored
Merge pull request adafruit#223 from tannewt/baudrate_fix
atmel-samd: Remember SPI baudrate.
2 parents 4d0dc4b + e2f39a8 commit c01bf67

File tree

1 file changed

+1
-0
lines changed
  • atmel-samd/common-hal/busio

1 file changed

+1
-0
lines changed

atmel-samd/common-hal/busio/SPI.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ bool common_hal_busio_spi_configure(busio_spi_obj_t *self,
174174
if (status != STATUS_OK) {
175175
return false;
176176
}
177+
self->current_baudrate = baudrate;
177178
}
178179

179180
SercomSpi *const spi_module = &(self->spi_master_instance.hw->SPI);

0 commit comments

Comments
 (0)
0