mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-29 22:20:37 +00:00
Fix init for InputEvent (#8015)
This commit is contained in:
@@ -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