ads1115 only
Fork of mbed by
Diff: SerialBase.h
- 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); } }