1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #12684 from fabian18/arduino_SPI_interface_little_bugfix

sys/arduino: bug: missing 0
This commit is contained in:
Marian Buschsieweke 2019-11-11 11:06:06 +01:00 committed by GitHub
commit 8eab67e4ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ SPISettings::SPISettings(uint32_t clock_hz, uint8_t bitOrder, uint8_t dataMode)
SPI_CLK_10MHZ, SPI_CLK_5MHZ, SPI_CLK_1MHZ, SPI_CLK_400KHZ
};
static const uint32_t steps [] = {
1000000, 5000000, 1000000, 400000
10000000, 5000000, 1000000, 400000
};
assert(bitOrder == MSBFIRST);