mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-22 10:42:49 +00:00
tryfix: also clear the second buffer.
Todo: do we really need 2 buffers here?
This commit is contained in:
@@ -74,6 +74,11 @@ meshtastic_XModem XModemAdapter::getForPhone()
|
||||
return xmodemStore;
|
||||
}
|
||||
|
||||
void XModemAdapter::resetForPhone()
|
||||
{
|
||||
xmodemStore = meshtastic_XModem_init_zero;
|
||||
}
|
||||
|
||||
void XModemAdapter::handlePacket(meshtastic_XModem xmodemPacket)
|
||||
{
|
||||
switch (xmodemPacket.control) {
|
||||
|
||||
Reference in New Issue
Block a user