@@ -3726,41 +3726,41 @@ ipDECL_CAST_CONST_PTR_FUNC_FOR_TYPE( FreeRTOS_Socket_t )
37263726 return ( const SocketSelectMessage_t * ) pvArgument ;
37273727 }
37283728 /*-----------------------------------------------------------*/
3729- #endif /* if ( ipconfigSUPPORT_SELECT_FUNCTION == 1 ) */
3729+ #endif /* ipconfigSUPPORT_SELECT_FUNCTION == 1 */
37303730/** @} */
37313731
37323732/**
37333733 * @brief Convert character array (of size 4) to equivalent 32-bit value.
3734- * @param[in] apChr : The character array.
3734+ * @param[in] pucPtr : The character array.
37353735 * @return 32-bit equivalent value extracted from the character array.
37363736 *
37373737 * @note Going by MISRA rules, these utility functions should not be defined
37383738 * if they are not being used anywhere. But their use depends on the
37393739 * application and hence these functions are defined unconditionally.
37403740 */
3741- uint32_t ulChar2u32 ( const uint8_t * apChr )
3741+ uint32_t ulChar2u32 ( const uint8_t * pucPtr )
37423742{
3743- return ( ( ( uint32_t ) apChr [ 0 ] ) << 24 ) |
3744- ( ( ( uint32_t ) apChr [ 1 ] ) << 16 ) |
3745- ( ( ( uint32_t ) apChr [ 2 ] ) << 8 ) |
3746- ( ( ( uint32_t ) apChr [ 3 ] ) );
3743+ return ( ( ( uint32_t ) pucPtr [ 0 ] ) << 24 ) |
3744+ ( ( ( uint32_t ) pucPtr [ 1 ] ) << 16 ) |
3745+ ( ( ( uint32_t ) pucPtr [ 2 ] ) << 8 ) |
3746+ ( ( ( uint32_t ) pucPtr [ 3 ] ) );
37473747}
37483748/*-----------------------------------------------------------*/
37493749
37503750/**
37513751 * @brief Convert character array (of size 2) to equivalent 16-bit value.
3752- * @param[in] apChr : The character array.
3752+ * @param[in] pucPtr : The character array.
37533753 * @return 16-bit equivalent value extracted from the character array.
37543754 *
37553755 * @note Going by MISRA rules, these utility functions should not be defined
37563756 * if they are not being used anywhere. But their use depends on the
37573757 * application and hence these functions are defined unconditionally.
37583758 */
3759- uint16_t usChar2u16 ( const uint8_t * apChr )
3759+ uint16_t usChar2u16 ( const uint8_t * pucPtr )
37603760{
37613761 return ( uint16_t )
3762- ( ( ( ( uint32_t ) apChr [ 0 ] ) << 8 ) |
3763- ( ( ( uint32_t ) apChr [ 1 ] ) ) );
3762+ ( ( ( ( uint32_t ) pucPtr [ 0 ] ) << 8 ) |
3763+ ( ( ( uint32_t ) pucPtr [ 1 ] ) ) );
37643764}
37653765/*-----------------------------------------------------------*/
37663766
0 commit comments