From 8a446ead4450e824c8fb6116f088714119a05bc9 Mon Sep 17 00:00:00 2001 From: aineoae86-sys Date: Wed, 1 Jul 2026 13:52:56 +0800 Subject: [PATCH] Fix PIC32 MAC initialization call Pass the NetworkInterface_t pointer through to StartInitMac. The helper already requires the interface and uses it to iterate endpoints, so the PIC32 network interface currently fails to compile. --- .../portable/NetworkInterface/pic32mzef/NetworkInterface_eth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/portable/NetworkInterface/pic32mzef/NetworkInterface_eth.c b/source/portable/NetworkInterface/pic32mzef/NetworkInterface_eth.c index df35ed8802..e0333a94cc 100644 --- a/source/portable/NetworkInterface/pic32mzef/NetworkInterface_eth.c +++ b/source/portable/NetworkInterface/pic32mzef/NetworkInterface_eth.c @@ -266,7 +266,7 @@ if( xMacInitStatus == eMACInit ) { /* This is the first time this function is called. */ - if( StartInitMac() != false ) + if( StartInitMac( pxInterface ) != false ) { /* Indicate that the MAC initialisation succeeded. */ xMacInitStatus = eMACPass;