Rephrase confusing function description

This commit is contained in:
Azim Khan 2017-09-08 17:23:23 +01:00 committed by Mohammad Azim Khan
parent 317efe85e1
commit 36e5fac0fb

View File

@ -17,7 +17,7 @@
assert( sizeof( *( p ) ) == sizeof( *( start ) ) ); \
/* <= is checked to support use inside a loop where \
pointer is incremented after reading data. */ \
assert( (uint32_t)( ( ( p ) - ( start ) ) + step ) <= len );\
assert( (uint32_t)( ( ( p ) - ( start ) ) + ( step ) ) <= ( len ) );\
( p ) += step; \
} \
while( 0 )
@ -156,7 +156,8 @@ uint8_t * receive_data( uint32_t * data_len )
}
/**
* \brief Parses received byte array and finds number of hex parameters.
* \brief Find count of hex arguments(test function arguments) in the
* received binary data.
*
* \param count Parameter count
* \param data Received Byte array