fix T-Deck trackball crashes (#2714)
* try-fix: nodenum crash during boot * Revert "try-fix: nodenum crash during boot" This reverts commit 632012e197632aafdbd5ef09872622274e00bcc0. * fix/workaround: trackball interrupt crashes * trunk fmt * add OSThread to trackballInterrupt
This commit is contained in:
@@ -1901,7 +1901,7 @@ int Screen::handleUIFrameEvent(const UIFrameEvent *event)
|
||||
int Screen::handleInputEvent(const InputEvent *event)
|
||||
{
|
||||
if (showingNormalScreen && moduleFrames.size() == 0) {
|
||||
LOG_DEBUG("Screen::handleInputEvent from %s\n", event->source);
|
||||
// LOG_DEBUG("Screen::handleInputEvent from %s\n", event->source);
|
||||
if (event->inputEvent == static_cast<char>(meshtastic_ModuleConfig_CannedMessageConfig_InputEventChar_LEFT)) {
|
||||
showPrevFrame();
|
||||
} else if (event->inputEvent == static_cast<char>(meshtastic_ModuleConfig_CannedMessageConfig_InputEventChar_RIGHT)) {
|
||||
|
||||
Reference in New Issue
Block a user