Fix init for InputEvent (#8015)

This commit is contained in:
Markus
2025-09-18 13:32:56 +02:00
committed by Ben Meadors
parent 188283b382
commit 2567c03a3f
10 changed files with 15 additions and 15 deletions

View File

@@ -188,7 +188,7 @@ void ExpressLRSFiveWay::determineAction(KeyType key, PressLength length)
// Feed input to the canned messages module
void ExpressLRSFiveWay::sendKey(input_broker_event key)
{
InputEvent e;
InputEvent e = {};
e.source = inputSourceName;
e.inputEvent = key;
notifyObservers(&e);