Fork of the official mbed C/C SDK provides the software platform and libraries to build your applications for RenBED.

Dependents:   1-RenBuggyTimed RenBED_RGB RenBED_RGB_PWM RenBED_RGB

Fork of mbed by mbed official

Revision:
99:dbbf35b96557
Parent:
98:8ab26030e058
Child:
102:da0ca467f8b5
--- a/SerialBase.h	Wed Apr 29 10:16:23 2015 +0100
+++ b/SerialBase.h	Wed May 13 08:08:21 2015 +0200
@@ -105,6 +105,8 @@
         if((mptr != NULL) && (tptr != NULL)) {
             _irq[type].attach(tptr, mptr);
             serial_irq_set(&_serial, (SerialIrq)type, 1);
+        } else {
+            serial_irq_set(&_serial, (SerialIrq)type, 0);
         }
     }