Fix init for InputEvent (#8015)
This commit is contained in:
committed by
Ben Meadors
co-authored by
Ben Meadors
parent
188283b382
commit
2567c03a3f
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user