From a982df85fe3fccd7c628a0035ab27ac0925bce3f Mon Sep 17 00:00:00 2001 From: Francisco Molina Date: Fri, 14 Aug 2020 15:36:51 +0200 Subject: [PATCH] boards/dwm10001: fix dw1000 config --- boards/dwm1001/include/board.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/boards/dwm1001/include/board.h b/boards/dwm1001/include/board.h index 47f585a6b8..03ae755338 100644 --- a/boards/dwm1001/include/board.h +++ b/boards/dwm1001/include/board.h @@ -77,9 +77,9 @@ extern "C" { * @name DW1000 UWB transceiver * @{ */ -#define DW1000_PARAM_SPI_DEV SPI_DEV(1) -#define DW1000_PARAM_CS_PIN GPIO_DEV(0, 17) -#define DW1000_PARAM_INT_PIN GPIO_DEV(0, 19) +#define DW1000_PARAM_SPI SPI_DEV(1) +#define DW1000_PARAM_CS_PIN GPIO_PIN(0, 17) +#define DW1000_PARAM_INT_PIN GPIO_PIN(0, 19) /** @} */ #ifdef __cplusplus