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.
Dependents: WizFi250_AP_HelloWorld
Fork of mbed-src by
Diff: api/SerialBase.h
- Revision:
- 531:47d2b67c511f
- Parent:
- 525:c320967f86b9
- Child:
- 563:536c9fb088a0
diff -r 2939f5396008 -r 47d2b67c511f api/SerialBase.h --- a/api/SerialBase.h Thu Apr 30 09:15:06 2015 +0100 +++ b/api/SerialBase.h Thu Apr 30 13:00:08 2015 +0100 @@ -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); } }