We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 509d55f commit 9b71709Copy full SHA for 9b71709
changelog.md
@@ -8,6 +8,7 @@
8
- Added systemOff() to enter hibernate mode
9
- Correct waitForEvent() function with SoftDevice enabled and disabled.
10
- Added RotaryEncoder support for both Hardware and Software Encoder.
11
+- Ada Callback task is started along with loop task, used as worker thread to defer interrupt callback.
12
13
## 0.7.0
14
libraries/RotaryEncoder/RotaryEncoder.cpp
@@ -198,7 +198,7 @@ void HwRotaryEncoder::_irq_handler(void)
198
if ( _cb )
199
{
200
int32_t step = read();
201
- if ( step ) _cb(step);
+ if ( step ) ada_callback(NULL, _cb, step);
202
}
203
204
0 commit comments