USBHost library for WAVE file player
Fork of USBHost by
Diff: USBHostSerial/USBHostSerial.h
- Revision:
- 2:5e8fdc541b98
- Parent:
- 1:0a457e34fa9e
- Child:
- 3:0f5c32575eb8
diff -r 0a457e34fa9e -r 5e8fdc541b98 USBHostSerial/USBHostSerial.h --- a/USBHostSerial/USBHostSerial.h Wed Mar 06 17:10:32 2013 +0000 +++ b/USBHostSerial/USBHostSerial.h Wed Mar 06 17:44:00 2013 +0000 @@ -68,6 +68,7 @@ * * @param tptr pointer to the object to call the member function on * @param mptr pointer to the member function to be called + * @param irq irq type */ template<typename T> inline void attach(T* tptr, void (T::*mptr)(void), IrqType irq = RxIrq) { @@ -83,7 +84,7 @@ /** * Attach a callback called when a packet is received * - * @param fptr function pointer + * @param ptr function pointer */ inline void attach(void (*fn)(void), IrqType irq = RxIrq) { if (fn != NULL) {