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.
Revision 4:5bb182ca2b07, committed 2017-10-25
- Comitter:
- fujikenac
- Date:
- Wed Oct 25 09:42:56 2017 +0000
- Parent:
- 3:67dbeee5beda
- Commit message:
- add callback
Changed in this revision
ds3_si.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/ds3_si.cpp Tue Oct 17 07:31:45 2017 +0000 +++ b/ds3_si.cpp Wed Oct 25 09:42:56 2017 +0000 @@ -13,7 +13,7 @@ in[7] = 0; serial.baud(baudrate); - serial.attach(this, &ds3_si::serialin, Serial::RxIrq); + serial.attach(callback(this, &ds3_si::serialin), Serial::RxIrq); } void ds3_si::serialin()