Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of USBHost by
Diff: USBHostSerial/USBHostSerial.h
- Revision:
- 2:5e8fdc541b98
- Parent:
- 1:0a457e34fa9e
- Child:
- 3:0f5c32575eb8
--- 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) {
