Merge pull request #2168 from tarakanov/sensortag-spi

Correct SPI pins
contiki
George Oikonomou 2017-04-02 13:26:30 +01:00 committed by GitHub
commit 55f3a92211
1 changed files with 4 additions and 0 deletions

View File

@ -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)
/** @} */
/*---------------------------------------------------------------------------*/
/**