Skip to content

Commit f40c74c

Browse files
committed
Fix SPI object name
1 parent 9e7735b commit f40c74c

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
@@ -247,15 +247,15 @@ class BreakoutCarrierClass {
247247
UART UART1;
248248
UART UART2;
249249
UART UART3;
250-
MbedSPI SPI_2;
250+
MbedSPI SPI_0;
251251
BreakoutCarrierClass() : I2C_0(PH_8,PH_7),
252252
I2C_1(PB_7,PB_6),
253253
I2C_2(PH_12,PH_11),
254254
UART0(PA_0, PI_9, NC/*PI_10*/, NC/*PI_13*/),
255255
UART1(PA_9, PA_10, NC/*PI_14*/, NC/*PI_15*/),
256256
UART2(PG_14, PG_9, NC, NC),
257257
UART3(PJ_8, PJ_9, NC, NC),
258-
SPI_2(PC_2, PC_3, PI_1)
258+
SPI_0(PC_2, PC_3, PI_1)
259259
{
260260
}
261261
};

0 commit comments

Comments
 (0)