mirror of
https://github.com/meshtastic/firmware.git
synced 2026-01-27 12:12:07 +00:00
re-add namespacing in protobufs. Let's see what i missed. Portduino likely ...
Checking in generated on purpose.
This commit is contained in:
10
src/xmodem.h
10
src/xmodem.h
@@ -46,8 +46,8 @@ class XModemAdapter
|
||||
|
||||
XModemAdapter();
|
||||
|
||||
void handlePacket(XModem xmodemPacket);
|
||||
XModem *getForPhone();
|
||||
void handlePacket(meshtastic_XModem xmodemPacket);
|
||||
meshtastic_XModem *getForPhone();
|
||||
|
||||
private:
|
||||
bool isReceiving = false;
|
||||
@@ -64,13 +64,13 @@ class XModemAdapter
|
||||
File file;
|
||||
#endif
|
||||
|
||||
char filename[sizeof(XModem_buffer_t::bytes)] = {0};
|
||||
char filename[sizeof(meshtastic_XModem_buffer_t::bytes)] = {0};
|
||||
|
||||
protected:
|
||||
XModem *xmodemStore = NULL;
|
||||
meshtastic_XModem *xmodemStore = NULL;
|
||||
unsigned short crc16_ccitt(const pb_byte_t *buffer, int length);
|
||||
int check(const pb_byte_t *buf, int sz, unsigned short tcrc);
|
||||
void sendControl(XModem_Control c);
|
||||
void sendControl(meshtastic_XModem_Control c);
|
||||
};
|
||||
|
||||
extern XModemAdapter xModem;
|
||||
|
||||
Reference in New Issue
Block a user