diff options
Diffstat (limited to 'libmaple/usb/usb.h')
-rw-r--r-- | libmaple/usb/usb.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libmaple/usb/usb.h b/libmaple/usb/usb.h index c0fcec0..84390cb 100644 --- a/libmaple/usb/usb.h +++ b/libmaple/usb/usb.h @@ -72,10 +72,10 @@ void usbEnbISR(void); void usb_lpIRQHandler(void); void usbWaitReset(void); -/* nonblocking functions for send/receive */ -uint16 usbSendBytes(uint8* sendBuf,uint16 len); -uint8 usbBytesAvailable(void); -uint8 usbReceiveBytes(uint8* recvBuf, uint8 len); +/* blocking functions for send/receive */ +uint32 usbSendBytes(uint8* sendBuf,uint16 len); +uint32 usbBytesAvailable(void); +uint32 usbReceiveBytes(uint8* recvBuf, uint8 len); uint8 usbGetDTR(void); uint8 usbGetRTS(void); uint8 usbIsConnected(void); |