mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-16 07:42:37 +00:00
Fix init for InputEvent (#8015)
This commit is contained in:
@@ -72,7 +72,7 @@ int32_t KbMatrixBase::runOnce()
|
||||
if (key != 0) {
|
||||
LOG_DEBUG("Key 0x%x pressed", key);
|
||||
// reset shift now that we have a keypress
|
||||
InputEvent e;
|
||||
InputEvent e = {};
|
||||
e.inputEvent = INPUT_BROKER_NONE;
|
||||
e.source = this->_originName;
|
||||
switch (key) {
|
||||
|
||||
Reference in New Issue
Block a user