From 6f71a9416d9b0c3fd5374add8cc8a6189258b06e Mon Sep 17 00:00:00 2001 From: functionpointer Date: Sat, 6 Feb 2021 22:02:24 +0100 Subject: [PATCH] CalliopeMini: Move SCK to a real pin SPI pin definitions use the mapped pins, not the raw pins (like P0.01). The MISO and MOSI pins are already using the mapping, but the SCK pin doesnt, so this commit changes that. --- variants/CalliopeMini/variant.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/variants/CalliopeMini/variant.h b/variants/CalliopeMini/variant.h index ee88c16e..6b27689d 100644 --- a/variants/CalliopeMini/variant.h +++ b/variants/CalliopeMini/variant.h @@ -80,7 +80,7 @@ static const uint8_t A7 = PIN_A7; #define PIN_SPI_MISO (16) #define PIN_SPI_MOSI (17) -#define PIN_SPI_SCK (22) +#define PIN_SPI_SCK (3) static const uint8_t MOSI = PIN_SPI_MOSI; static const uint8_t MISO = PIN_SPI_MISO;