dualshock3
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()