diff options
| author | Radomir Dopieralski <deshipu@users.noreply.github.com> | 2017-09-01 21:56:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-01 21:56:44 +0200 |
| commit | c01bf678fdca84ddc0d6c5f80ad60b5248f17cdc (patch) | |
| tree | 3f1ca3c10cc665a68656c95b799c2d3e9c82119e | |
| parent | 4d0dc4b2985f0da924011b20706c6a99e52f17d2 (diff) | |
| parent | e2f39a8d936605f27f89a1216054eb8c43b62e2f (diff) | |
Merge pull request #223 from tannewt/baudrate_fix
atmel-samd: Remember SPI baudrate.
| -rw-r--r-- | atmel-samd/common-hal/busio/SPI.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/atmel-samd/common-hal/busio/SPI.c b/atmel-samd/common-hal/busio/SPI.c index f3f289f37..c7e7d6fd7 100644 --- a/atmel-samd/common-hal/busio/SPI.c +++ b/atmel-samd/common-hal/busio/SPI.c @@ -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); |
