diff options
author | ajmeyer@mit.edu <ajmeyer@mit.edu@749a229e-a60e-11de-b98f-4500b42dc123> | 2009-12-19 08:41:53 +0000 |
---|---|---|
committer | ajmeyer@mit.edu <ajmeyer@mit.edu@749a229e-a60e-11de-b98f-4500b42dc123> | 2009-12-19 08:41:53 +0000 |
commit | af4c4985cef82b80b936584d686c80d9538082b6 (patch) | |
tree | cc07bda1a5a080e079b44c9606f66eab5003cf76 /src/lib/usb.h | |
parent | 7021adc50a041bfb69bc4432b712aa07ef710ca3 (diff) | |
download | librambutan-af4c4985cef82b80b936584d686c80d9538082b6.tar.gz librambutan-af4c4985cef82b80b936584d686c80d9538082b6.zip |
fixed some minor naming issues in usb.c/h usb_serialWriteStr is nonfunctional
git-svn-id: https://leaflabs.googlecode.com/svn/trunk/library@73 749a229e-a60e-11de-b98f-4500b42dc123
Diffstat (limited to 'src/lib/usb.h')
-rw-r--r-- | src/lib/usb.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/lib/usb.h b/src/lib/usb.h index be632dd..d057b1d 100644 --- a/src/lib/usb.h +++ b/src/lib/usb.h @@ -6,7 +6,7 @@ #include "cortexm3_macro.h" #include "usb_regs.h" -#ifdef __cpluscplus +#ifdef __cplusplus extern "C" { #endif @@ -18,16 +18,12 @@ extern "C" { #define USB_SERIAL_BUF_SIZE (0x40) void usb_lpIRQHandler(void); -void usb_userToPMABufferCopy(uint8_t *pbUsrBuf, - uint16_t *wPMABufAddr, - uint16_t *wNBytes); -void usb_PMABToUserufferCopy(uint8_t *pbUsrBuf, - uint16_t *wPMABufAddr, - uint16_t *wNBytes); -void usb_serialWriteStr(char* str); +void usb_userToPMABufferCopy(u8 *pbUsrBuf,u16 wPMABufAddr,u16 wNBytes); +void usb_PMAToUserBufferCopy(u8 *pbUsrBuf,u16 wPMABufAddr,u16 wNBytes); +void usb_serialWriteStr(const char *outStr); -#ifdef __cpluscplus +#ifdef __cplusplus } // extern "C" #endif #endif //_USB_H |