Drivers/Platform/vio_Mbed-LPC1768.c
// Print formated string to test terminal.
Print formated string to test terminal.
Print formated string to test terminal .
int32_t vioPrint(uint32_t level, const char *format, ...)
{
    va_list args;
    int32_t ret;
#if !defined CMSIS_VOUT
#endif
    if (level > vioLevelError)
    {
        return (-1);
    }
    if (level > VIO_PRINTMEM_NUM)
    {
        return (-1);
    }
    va_start(args, format);
    ret = vsnprintf((char *)vioPrintMem[level], sizeof(vioPrintMem[level]), format, args);
    va_end(args);
#if !defined CMSIS_VOUT
#endif
    return (ret);
}
int32_t vioPrint ( uint32_t level , const char * format , ... ) { va_list args ; int32_t ret ; #if ! defined CMSIS_VOUT #endif if ( level > vioLevelError ) { return ( -1 ) ; } if ( level > VIO_PRINTMEM_NUM ) { return ( -1 ) ; } va_start ( args , format ) ; ret = vsnprintf ( ( char * ) vioPrintMem [ level ] , sizeof ( vioPrintMem [ level ] ) , format , args ) ; va_end ( args ) ; #if ! defined CMSIS_VOUT #endif return ( ret ) ; }
Print formated string to test terminal.
Print formated string to test terminal .
// Add user variables here: // Add user code here: