Skip to content

Commit

Permalink
fix C90 build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
HTRamsey committed Feb 1, 2024
1 parent c3a3465 commit 8a21a62
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions source/FreeRTOS_IP.c
Original file line number Diff line number Diff line change
Expand Up @@ -757,11 +757,11 @@ void vForwardTxPacket( NetworkBufferDescriptor_t * const pxNetworkBuffer,
}
else if( xReleaseAfterSend != pdFALSE )
{
IPStackEvent_t xSendEvent;

/* Send a message to the IP-task to send this packet. */
const IPStackEvent_t xSendEvent = {
.eEventType = eNetworkTxEvent,
.pvData = pxNetworkBuffer
};
xSendEvent.eEventType = eNetworkTxEvent;
xSendEvent.pvData = pxNetworkBuffer;

if( xSendEventStructToIPTask( &xSendEvent, ( TickType_t ) portMAX_DELAY ) == pdFAIL )
{
Expand Down
1 change: 0 additions & 1 deletion source/FreeRTOS_ND.c
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,6 @@
{
NetworkBufferDescriptor_t * pxNetworkBuffer;
ICMPPacket_IPv6_t * pxICMPPacket;
NetworkInterface_t * pxInterface;
ICMPHeader_IPv6_t * pxICMPHeader_IPv6;
size_t uxICMPSize;
size_t uxPacketSize;
Expand Down

0 comments on commit 8a21a62

Please sign in to comment.