mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-24 01:16:55 +00:00
Ignore keyboard input while sending CannedMessages packet
This commit is contained in:
parent
45f90fb39b
commit
71c0726838
@ -142,7 +142,9 @@ int CannedMessageModule::handleInputEvent(const InputEvent *event)
|
||||
// source at all)
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (this->runState == CANNED_MESSAGE_RUN_STATE_SENDING_ACTIVE) {
|
||||
return 0; // Ignore input while sending
|
||||
}
|
||||
bool validEvent = false;
|
||||
if (event->inputEvent == static_cast<char>(meshtastic_ModuleConfig_CannedMessageConfig_InputEventChar_UP)) {
|
||||
if (this->messagesCount > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user