mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-22 02:32:23 +00:00
Fix init for InputEvent (#8015)
This commit is contained in:
@@ -47,7 +47,7 @@ bool TouchScreenImpl1::getTouch(int16_t &x, int16_t &y)
|
||||
*/
|
||||
void TouchScreenImpl1::onEvent(const TouchEvent &event)
|
||||
{
|
||||
InputEvent e;
|
||||
InputEvent e = {};
|
||||
e.source = event.source;
|
||||
e.kbchar = 0;
|
||||
e.touchX = event.x;
|
||||
|
||||
Reference in New Issue
Block a user