mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #8703 from aabadie/boards/params/samr21-xpro
boards/samr21-xpro: fix driver params usage
This commit is contained in:
commit
47a66098e8
@ -44,12 +44,10 @@ extern "C" {
|
||||
*
|
||||
* {spi bus, spi speed, cs pin, int pin, reset pin, sleep pin}
|
||||
*/
|
||||
#define AT86RF2XX_PARAMS_BOARD {.spi = SPI_DEV(0), \
|
||||
.spi_clk = SPI_CLK_5MHZ, \
|
||||
.cs_pin = GPIO_PIN(PB, 31), \
|
||||
.int_pin = GPIO_PIN(PB, 0), \
|
||||
.sleep_pin = GPIO_PIN(PA, 20), \
|
||||
.reset_pin = GPIO_PIN(PB, 15)}
|
||||
#define AT86RF2XX_PARAM_CS GPIO_PIN(PB, 31)
|
||||
#define AT86RF2XX_PARAM_INT GPIO_PIN(PB, 0)
|
||||
#define AT86RF2XX_PARAM_SLEEP GPIO_PIN(PA, 20)
|
||||
#define AT86RF2XX_PARAM_RESET GPIO_PIN(PB, 15)
|
||||
|
||||
/**
|
||||
* @name LED pin definitions and handlers
|
||||
|
Loading…
Reference in New Issue
Block a user