diff options
author | Fabien Poussin <fabien.poussin@gmail.com> | 2017-04-14 12:51:10 +0200 |
---|---|---|
committer | Fabien Poussin <fabien.poussin@gmail.com> | 2017-04-14 12:51:10 +0200 |
commit | 2212cb731fd691e1394ba955fb5cc85ceec43ac8 (patch) | |
tree | bae30e8043f741a36e875ee8d2a968f7a7e05589 /testhal/NRF51/NRF51822/SPI/main.c | |
parent | 97aaabeedd53ec16147696f8b44b16ee43d86a99 (diff) | |
download | ChibiOS-Contrib-2212cb731fd691e1394ba955fb5cc85ceec43ac8.tar.gz ChibiOS-Contrib-2212cb731fd691e1394ba955fb5cc85ceec43ac8.tar.bz2 ChibiOS-Contrib-2212cb731fd691e1394ba955fb5cc85ceec43ac8.zip |
Fixed NRF51 Makefiles
Diffstat (limited to 'testhal/NRF51/NRF51822/SPI/main.c')
-rw-r--r-- | testhal/NRF51/NRF51822/SPI/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testhal/NRF51/NRF51822/SPI/main.c b/testhal/NRF51/NRF51822/SPI/main.c index 8d9c089..d53de25 100644 --- a/testhal/NRF51/NRF51822/SPI/main.c +++ b/testhal/NRF51/NRF51822/SPI/main.c @@ -23,7 +23,7 @@ static const SPIConfig hs_spicfg = {
.end_cb=NULL,
- .freq=NRF51_SPI_FREQ_1MBPS,
+ .freq=NRF5_SPI_FREQ_1MBPS,
.sckpad=SPI_SCK,
.mosipad=SPI_MOSI,
.misopad=SPI_MISO,
@@ -34,7 +34,7 @@ static const SPIConfig hs_spicfg = { static const SPIConfig ls_spicfg = {
.end_cb=NULL,
- .freq=NRF51_SPI_FREQ_250KBPS,
+ .freq=NRF5_SPI_FREQ_250KBPS,
.sckpad=SPI_SCK,
.mosipad=SPI_MOSI,
.misopad=SPI_MISO,
|