Skip to content

Commit 390b592

Browse files
authored
Merge pull request #50 from pennam/mbed-4.1.5-fix
Fix build for mbed core 4.1.5 using correct ctor
2 parents 891bb62 + 0ba2d0e commit 390b592

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Arduino_PortentaBreakout.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ class BreakoutCarrierClass {
262262
UART3(PJ_8, PJ_9, NC, NC),
263263
SPI_0(PC_2, PC_3, PI_1),
264264
PDM(PB_2, PE_2, NC),
265-
Ethernet(),
265+
Ethernet(static_cast<EthernetInterface*>(EthInterface::get_default_instance())),
266266
RTClock()
267267
{
268268
}

0 commit comments

Comments
 (0)