MOODSERIAL personal fork

Dependents:   rosserial_mbed_lib

Fork of MODSERIAL by Andy K

Files at this revision

API Documentation at this revision

Comitter:
AjK
Date:
Tue May 10 08:07:27 2011 +0000
Parent:
20:59c74aaedda2
Child:
22:c11ea36f17f9
Commit message:
V1.21 See ChangeLog.c

Changed in this revision

ChangeLog.c Show annotated file Show diff for this revision Revisions of this file
MODSERIAL.h Show annotated file Show diff for this revision Revisions of this file
--- a/ChangeLog.c	Tue Apr 26 08:12:45 2011 +0000
+++ b/ChangeLog.c	Tue May 10 08:07:27 2011 +0000
@@ -1,5 +1,9 @@
 /* $Id:$
 
+1.21    10 May 2011
+    
+    * http://mbed.org/forum/mbed/topic/2264
+    
 1.20    26 April 2011
 
     * Bug fix, not blocking on transmit
--- a/MODSERIAL.h	Tue Apr 26 08:12:45 2011 +0000
+++ b/MODSERIAL.h	Tue May 10 08:07:27 2011 +0000
@@ -428,7 +428,7 @@
      * @param  type Which serial interrupt to attach the member function to (Seriall::RxIrq for receive, TxIrq for transmit buffer empty)
      */
     template<typename T>
-    void attach(T* tptr, uint32_t (T::*mptr)(uint32_t), IrqType type = RxIrq) {
+    void attach(T* tptr, void (T::*mptr)(MODSERIAL_IRQ_INFO *), IrqType type = RxIrq) {
         if((mptr != 0) && (tptr != 0)) {
             _isr[type].attach(tptr, mptr);            
         }