From f564e6bb5fe778ed21e559296c34709d79874382 Mon Sep 17 00:00:00 2001 From: tarakanov Date: Sun, 2 Apr 2017 13:14:09 +0500 Subject: [PATCH] Correct SPI pins --- platform/srf06-cc26xx/sensortag/cc2650/board.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/platform/srf06-cc26xx/sensortag/cc2650/board.h b/platform/srf06-cc26xx/sensortag/cc2650/board.h index 9f0a7abd3..68580d4ff 100644 --- a/platform/srf06-cc26xx/sensortag/cc2650/board.h +++ b/platform/srf06-cc26xx/sensortag/cc2650/board.h @@ -137,8 +137,12 @@ * Those values are not meant to be modified by the user * @{ */ +#define BOARD_IOID_SPI_SCK IOID_17 #define BOARD_IOID_SPI_MOSI IOID_19 #define BOARD_IOID_SPI_MISO IOID_18 +#define BOARD_SPI_SCK (1 << BOARD_IOID_SPI_SCK) +#define BOARD_SPI_MOSI (1 << BOARD_IOID_SPI_MOSI) +#define BOARD_SPI_MISO (1 << BOARD_IOID_SPI_MISO) /** @} */ /*---------------------------------------------------------------------------*/ /**