Skip to content

Commit d9bf5fa

Browse files
Fix PIC32 MAC initialization call (#1350)
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. Co-authored-by: aineoae86-sys <ai.neo.ae86@gmail.com>
1 parent 06b7c9d commit d9bf5fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/portable/NetworkInterface/pic32mzef/NetworkInterface_eth.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@
266266
if( xMacInitStatus == eMACInit )
267267
{
268268
/* This is the first time this function is called. */
269-
if( StartInitMac() != false )
269+
if( StartInitMac( pxInterface ) != false )
270270
{
271271
/* Indicate that the MAC initialisation succeeded. */
272272
xMacInitStatus = eMACPass;

0 commit comments

Comments
 (0)