File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
NetworkInterface/STM32/Legacy/STM32Hxx Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -313,6 +313,7 @@ NetworkBufferDescriptor_t * pxGetNetworkBufferWithDescriptor( size_t xRequestedS
313313 }
314314 else
315315 {
316+ FreeRTOS_printf ( ( "pxGetNetworkBufferWithDescriptor: module not initialised or `xRequestedSizeBytes` too small" ) );
316317 /* lint wants to see at least a comment. */
317318 iptraceFAILED_TO_OBTAIN_NETWORK_BUFFER ();
318319 }
Original file line number Diff line number Diff line change @@ -392,8 +392,8 @@ static BaseType_t xSTM32H_NetworkInterfaceInitialise( NetworkInterface_t * pxInt
392392
393393 #if ( ipconfigZERO_COPY_RX_DRIVER != 0 )
394394 {
395- /* Subtracted 'ipBUFFER_PADDING', which is the size of the meta data. */
396- pucBuffer = pucGetRXBuffer ( ETH_RX_BUF_SIZE - ipBUFFER_PADDING );
395+ /* Subtracted 'ipBUFFER_PADDING', which is the size of the meta data. */
396+ pucBuffer = pucGetRXBuffer ( ETH_RX_BUF_SIZE - ipBUFFER_PADDING );
397397 configASSERT ( pucBuffer != NULL );
398398 }
399399 #else
@@ -1047,7 +1047,7 @@ size_t uxNetworkInterfaceAllocateRAMToBuffers( NetworkBufferDescriptor_t pxNetwo
10471047 ucRAMBuffer += ETH_RX_BUF_SIZE ;
10481048 }
10491049
1050- return ( ETH_RX_BUF_SIZE - ipBUFFER_PADDING );
1050+ return ( ETH_RX_BUF_SIZE - ipBUFFER_PADDING );
10511051}
10521052/*-----------------------------------------------------------*/
10531053
You can’t perform that action at this time.
0 commit comments