X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=src%2Fcommon%2Fvirtual_com.h;h=c8e5f020391bb1eb192606c014e9e65dcd1a3739;hb=ae08cb7946610699238315e78bb739380001ec23;hp=1b512ad7dac1db3bdc87981445f4f5515251db1e;hpb=7976a7d8491b4d9511a14cbb14df29841b45b1c0;p=gps-watch.git diff --git a/src/common/virtual_com.h b/src/common/virtual_com.h index 1b512ad..c8e5f02 100644 --- a/src/common/virtual_com.h +++ b/src/common/virtual_com.h @@ -125,7 +125,7 @@ typedef struct _usb_cdc_acm_info * * @return pointer to USB device handle. */ -usb_device_handle USB_VcomInit(void); +usb_device_handle USB_VcomInit (uint16_t vid, uint16_t pid); /*! * @brief Application initialization function. @@ -136,16 +136,4 @@ usb_device_handle USB_VcomInit(void); */ void USB_VcomDeinit(usb_device_handle deviceHandle); -/*! - * @brief USB send data to host using a blocking method. - * - * This function sends data to host by usb cdc protocol - * @param baseAddr pointer to USB device handle. - * @param buf pointer to the data. - * @param count size of the transfer. - * - * @return None. - */ -void USB_VcomWriteBlocking(usb_device_handle baseAddr, const uint8_t *buf, size_t count); - #endif /* _USB_CDC_VCOM_H_ */