defer callback for hw encoder to ada callback
This commit is contained in:
1 parent
509d55f9a5
commit
9b71709c13
2 files changed
+2
-1
No files matched your search
@@ -198,7 +198,7 @@ void HwRotaryEncoder::_irq_handler(void)
|
||||
if ( _cb )
|
||||
{
|
||||
int32_t step = read();
|
||||
if ( step ) _cb(step);
|
||||
if ( step ) ada_callback(NULL, _cb, step);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user