kopia lustrzana https://github.com/dl9rdz/rdz_ttgo_sonde
fix correct M20 id (missing terminator)
rodzic
97b3abc38f
commit
b4c0179ee6
|
@ -575,6 +575,7 @@ int M10M20::decodeframeM20(uint8_t *data) {
|
|||
ids[6] = (char)((id/100)%10+48);
|
||||
ids[7] = (char)((id/10)%10+48);
|
||||
ids[8] = (char)(id%10+48);
|
||||
ids[9] = 0;
|
||||
strncpy(si->id, ids, 10);
|
||||
// Serial: AAB-C-DDEEE
|
||||
char *ser = si->ser;
|
||||
|
|
Ładowanie…
Reference in New Issue