software/drivers/sd8887/src/wlan/mapp/uaputl/uaputl.c
/**
 * @brief           Conditional printf
 *
 * @param level     Severity level of the message
 * @param fmt       Printf format string, followed by optional arguments
 */
@brief           Conditional printf
@param level     Severity level of the message
@param fmt       Printf format string, followed by optional arguments
@brief Conditional printf @param level Severity level of the message @param fmt Printf format string followed by optional arguments
void
uap_printf(int level, char *fmt, ...)
{
	va_list ap;
	va_start(ap, fmt);
	if (level <= debug_level) {
		vprintf(fmt, ap);
	}
	va_end(ap);
}
void uap_printf ( int level , char * fmt , ... ) { va_list ap ; va_start ( ap , fmt ) ; if ( level <= debug_level ) { vprintf ( fmt , ap ) ; } va_end ( ap ) ; }
@brief           Conditional printf
 @param level     Severity level of the message
 @param fmt       Printf format string, followed by optional arguments
@brief Conditional printf @param level Severity level of the message @param fmt Printf format string followed by optional arguments