boards/samr21-xpro: fix driver params usage
This commit is contained in:
parent
2e066e8693
commit
ab0d598e60
@ -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…
x
Reference in New Issue
Block a user