Skip to content

Commit ebe32a5

Browse files
committed
Fix SPI object name
1 parent e45f499 commit ebe32a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PortentaBreakoutCarrier.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,15 +246,15 @@ class BreakoutCarrierClass {
246246
UART UART1;
247247
UART UART2;
248248
UART UART3;
249-
MbedSPI SPI_2;
249+
MbedSPI SPI_0;
250250
BreakoutCarrierClass() : I2C_0(PH_8,PH_7),
251251
I2C_1(PB_7,PB_6),
252252
I2C_2(PH_12,PH_11),
253253
UART0(PA_0, PI_9, NC/*PI_10*/, NC/*PI_13*/),
254254
UART1(PA_9, PA_10, NC/*PI_14*/, NC/*PI_15*/),
255255
UART2(PG_14, PG_9, NC, NC),
256256
UART3(PJ_8, PJ_9, NC, NC),
257-
SPI_2(PC_2, PC_3, PI_1)
257+
SPI_0(PC_2, PC_3, PI_1)
258258
{
259259
}
260260
};

0 commit comments

Comments
 (0)