fix #73: allow hw-model to be longer (16 bytes including terminator)

1.2-legacy
geeksville 2020-03-30 19:34:25 -07:00
rodzic 2a15195c32
commit 17de6f9532
2 zmienionych plików z 4 dodań i 4 usunięć

2
proto

@ -1 +1 @@
Subproject commit 1b2449b50d11f66d90511559e94cdf40f525fafb
Subproject commit d13d741a985f75b953a9b7f8df6c8c61fcc4730d

Wyświetl plik

@ -50,7 +50,7 @@ typedef struct _MyNodeInfo {
bool has_gps;
int32_t num_channels;
char region[12];
char hw_model[12];
char hw_model[16];
char firmware_version[12];
uint32_t error_code;
uint32_t error_address;
@ -431,8 +431,8 @@ extern const pb_msgdesc_t ToRadio_msg;
#define RadioConfig_size 120
#define RadioConfig_UserPreferences_size 72
#define NodeInfo_size 155
#define MyNodeInfo_size 81
#define DeviceState_size 15076
#define MyNodeInfo_size 85
#define DeviceState_size 15080
#define FromRadio_size 301
#define ToRadio_size 295