software/drivers/sd8887/src/wlan/mapp/mlanconfig/mlanconfig.c
/**
 *  @brief convert hex string to integer.
 *
 *  @param s			A pointer to hex string, string length up to 2 digits.
 *  @return			integer value.
 */
@brief convert hex string to integer.
@param s                    A pointer to hex string, string length up to 2 digits.
@return                     integer value.
@brief convert hex string to integer . @param s A pointer to hex string string length up to 2 digits . @return integer value .
static t_u8
hex_atoi(char *s)
{
	int i;
	t_u8 digit;		
	t_u8 t = 0;		
	for (i = 0, t = 0; ishexdigit(s[i], &digit) && i < 2; i++)
		t = 16 * t + digit;
	return (t);
}
static t_u8 hex_atoi ( char * s ) { int i ; t_u8 digit ; t_u8 t = 0 ; for ( i = 0 , t = 0 ; ishexdigit ( s [ i ] , & digit ) && i < 2 ; i ++ ) t = 16 * t + digit ; return ( t ) ; }
@brief convert hex string to integer.
@brief convert hex string to integer .
/* digital value */ /* total value */