Fix init for InputEvent (#8015)

This commit is contained in:
Markus
2025-09-18 13:32:56 +02:00
committed by GitHub
parent ba18467bd1
commit d8381aa905
10 changed files with 15 additions and 15 deletions

View File

@@ -49,7 +49,7 @@ bool SeesawRotary::init()
int32_t SeesawRotary::runOnce()
{
InputEvent e;
InputEvent e = {};
e.inputEvent = INPUT_BROKER_NONE;
bool currentlyPressed = !ss.digitalRead(SS_SWITCH);