fix for no version report?

pull/12/head
Tom Early 7 years ago
parent 8b1cdd4797
commit e873dc98ea

@ -119,7 +119,7 @@ bool CQnetModem::GetVersion()
hardwareType = HWT_UNKNOWN; hardwareType = HWT_UNKNOWN;
} }
printf("MMDVM protocol version: %u, Modem: %s", frame.protocol, frame.version); printf("MMDVM protocol version: %u, Modem: %s", (unsigned int)frame.protocol, frame.version);
return false; return false;
} }
} }

@ -62,7 +62,7 @@ typedef struct version_tag {
unsigned char length; unsigned char length;
unsigned char type; unsigned char type;
unsigned char protocol; unsigned char protocol;
unsigned char version[252]; unsigned char version[251];
} SVERSION; } SVERSION;
typedef struct mmodem_tag { typedef struct mmodem_tag {

Loading…
Cancel
Save

Powered by TurnKey Linux.