mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2026-07-27 16:23:46 +00:00
UPD MISRA changes (#164)
Co-authored-by: Yuhui Zheng <10982575+yuhui-zheng@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
97551bf44e
commit
e903ac0fed
@@ -257,7 +257,7 @@ FreeRTOS_Socket_t *pxSocket;
|
||||
configASSERT( pxNetworkBuffer != NULL );
|
||||
configASSERT( pxNetworkBuffer->pucEthernetBuffer != NULL );
|
||||
|
||||
|
||||
/* Map the ethernet buffer to the UDPPacket_t struct for easy access to the fields. */
|
||||
const UDPPacket_t *pxUDPPacket = ipPOINTER_CAST( const UDPPacket_t *, pxNetworkBuffer->pucEthernetBuffer );
|
||||
|
||||
/* Caller must check for minimum packet size. */
|
||||
|
||||
Reference in New Issue
Block a user