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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy