keil_examples/USBCDC/vcomdemo.c
/*----------------------------------------------------------------------------
 Initialises the VCOM port.
 Call this function before using VCOM_putchar or VCOM_getchar
 *---------------------------------------------------------------------------*/
Initialises the VCOM port.
Call this function before using VCOM_putchar or VCOM_getchar
Initialises the VCOM port . Call this function before using VCOM_putchar or VCOM_getchar
void VCOM_Init(void) {
#if PORT_NUM
  CDC_Init (1);
#else
  CDC_Init (0);
#endif
}
void VCOM_Init ( void ) { #if PORT_NUM CDC_Init ( 1 ) ; #else CDC_Init ( 0 ) ; #endif }
Initialises the VCOM port.
Initialises the VCOM port .