1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 14:33:52 +01:00
Benjamin Valentin d21dc25cfe sam0/spi: Don't re-configure SPI device when not needed
Currently, spi_acquire() will always re-configure the SPI bus.
If the configuration did not change, this is entirely uneccecary
and makes SPI operations take longer than needed.

Instead, compare the current configuration with the new configuration
and skip the initialisation if it didn't change since the last call.
2019-11-12 11:31:41 +01:00
..
2019-11-06 23:25:53 +01:00
2019-10-18 08:55:33 +02:00
2019-10-18 08:55:33 +02:00
2019-10-18 08:55:33 +02:00
2019-10-21 15:30:22 +02:00
2017-01-20 13:36:26 +01:00