Skip to content

Commit

Permalink
Merge pull request #347 from IanBurwell/ib/pyportal-ss-fix
Browse files Browse the repository at this point in the history
PyPortal: fix SS pin definition
  • Loading branch information
hathach authored Mar 5, 2024
2 parents 4c6cc0e + b032276 commit e43b1ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion variants/pyportal_m4/variant.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ static const uint8_t ATN = PIN_ATN;
#define PAD_SPI_TX SPI_PAD_0_SCK_1
#define PAD_SPI_RX SERCOM_RX_PAD_2

static const uint8_t SS = PIN_A2; // ???
static const uint8_t SS = 32;
static const uint8_t MOSI = PIN_SPI_MOSI;
static const uint8_t MISO = PIN_SPI_MISO;
static const uint8_t SCK = PIN_SPI_SCK;
Expand Down
2 changes: 1 addition & 1 deletion variants/pyportal_m4_titano/variant.h
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ static const uint8_t ATN = PIN_ATN;
#define PAD_SPI_TX SPI_PAD_0_SCK_1
#define PAD_SPI_RX SERCOM_RX_PAD_2

static const uint8_t SS = PIN_A2; // ???
static const uint8_t SS = 32;
static const uint8_t MOSI = PIN_SPI_MOSI;
static const uint8_t MISO = PIN_SPI_MISO;
static const uint8_t SCK = PIN_SPI_SCK;
Expand Down

0 comments on commit e43b1ef

Please sign in to comment.