Temporary fix on canned messages total length.

This commit is contained in:
Balazs Kelemen
2022-01-18 23:15:54 +01:00
parent 9f0ddda6ca
commit 1ff3b3326c
5 changed files with 44 additions and 32 deletions

View File

@@ -39,7 +39,7 @@ void RotaryEncoderInterruptBase::init(
int32_t RotaryEncoderInterruptBase::runOnce()
{
InputEvent e;
e.inputEvent = InputEventChar_NULL;
e.inputEvent = InputEventChar_KEY_NONE;
e.source = this->_originName;
if (this->action == ROTARY_ACTION_PRESSED)
@@ -58,7 +58,7 @@ int32_t RotaryEncoderInterruptBase::runOnce()
e.inputEvent = this->_eventCcw;
}
if (e.inputEvent != InputEventChar_NULL)
if (e.inputEvent != InputEventChar_KEY_NONE)
{
this->notifyObservers(&e);
}