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.
Diff: irRecv.cpp
- Revision:
- 8:629ef37f2853
- Parent:
- 4:5e46ae042bc7
diff -r c82a0d54a024 -r 629ef37f2853 irRecv.cpp
--- a/irRecv.cpp Thu Mar 10 15:39:34 2016 +0000
+++ b/irRecv.cpp Wed Sep 25 13:20:19 2019 +0000
@@ -102,6 +102,7 @@
void IRrecv::enableIRIn ( )
{
_ticker.detach();
+ _ticker.attach_us(callback(this, &IRrecv::timer_isr), USECPERTICK);
_ticker.attach_us(this, &IRrecv::timer_isr, USECPERTICK);
// Initialize state machine variables