Skip to content

Commit e43b1ef

Browse files
authored
Merge pull request #347 from IanBurwell/ib/pyportal-ss-fix
PyPortal: fix SS pin definition
2 parents 4c6cc0e + b032276 commit e43b1ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

variants/pyportal_m4/variant.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ static const uint8_t ATN = PIN_ATN;
160160
#define PAD_SPI_TX SPI_PAD_0_SCK_1
161161
#define PAD_SPI_RX SERCOM_RX_PAD_2
162162

163-
static const uint8_t SS = PIN_A2; // ???
163+
static const uint8_t SS = 32;
164164
static const uint8_t MOSI = PIN_SPI_MOSI;
165165
static const uint8_t MISO = PIN_SPI_MISO;
166166
static const uint8_t SCK = PIN_SPI_SCK;

variants/pyportal_m4_titano/variant.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ static const uint8_t ATN = PIN_ATN;
160160
#define PAD_SPI_TX SPI_PAD_0_SCK_1
161161
#define PAD_SPI_RX SERCOM_RX_PAD_2
162162

163-
static const uint8_t SS = PIN_A2; // ???
163+
static const uint8_t SS = 32;
164164
static const uint8_t MOSI = PIN_SPI_MOSI;
165165
static const uint8_t MISO = PIN_SPI_MISO;
166166
static const uint8_t SCK = PIN_SPI_SCK;

0 commit comments

Comments
 (0)