Skip to content

Commit 9e7735b

Browse files
committed
Swap SPI_0 and SPI_1 pin definition to match silk name
1 parent e45f499 commit 9e7735b

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

PortentaBreakoutCarrier.h

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,18 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
3232
#include "Wire.h"
3333
#include "SPI.h"
3434
#include "utility/portentaBreakoutAnalog.h"
35+
#include "utility/RTC/RTC.h"
3536

3637
#define LAST_ARDUINO_PIN_NUMBER LEDB + 1
3738
typedef enum {
38-
SPI0_CS = -1,
39-
SPI0_CK = -1,
40-
SPI0_MISO = -1,
41-
SPI0_MOSI = -1,
42-
SPI1_CS = LAST_ARDUINO_PIN_NUMBER + PI_0,
43-
SPI1_CK = LAST_ARDUINO_PIN_NUMBER + PI_1,
44-
SPI1_MISO = LAST_ARDUINO_PIN_NUMBER + PC_2,
45-
SPI1_MOSI = LAST_ARDUINO_PIN_NUMBER + PC_3,
39+
SPI0_CS = LAST_ARDUINO_PIN_NUMBER + PI_0,
40+
SPI0_CK = LAST_ARDUINO_PIN_NUMBER + PI_1,
41+
SPI0_MISO = LAST_ARDUINO_PIN_NUMBER + PC_2,
42+
SPI0_MOSI = LAST_ARDUINO_PIN_NUMBER + PC_3,
43+
SPI1_CS = -1,
44+
SPI1_CK = -1,
45+
SPI1_MISO = -1,
46+
SPI1_MOSI = -1,
4647
UART2_TX = LAST_ARDUINO_PIN_NUMBER + PG_14,
4748
UART2_RX = LAST_ARDUINO_PIN_NUMBER + PG_9,
4849
UART2_RTS = -1,

0 commit comments

Comments
 (0)