kopia lustrzana https://github.com/rs1729/RS
rs41mod: fix broken frame output
rodzic
eb7f7f1e35
commit
5e2425b3a0
|
@ -2122,7 +2122,10 @@ static int print_position(gpx_t *gpx, int ec) {
|
||||||
if (gpx->option.ptu) out_mask |= crc_PTU;
|
if (gpx->option.ptu) out_mask |= crc_PTU;
|
||||||
|
|
||||||
err = get_FrameConf(gpx, 0);
|
err = get_FrameConf(gpx, 0);
|
||||||
if (out && !err) prn_frm(gpx);
|
if (out && !err) {
|
||||||
|
prn_frm(gpx);
|
||||||
|
output = 1;
|
||||||
|
}
|
||||||
|
|
||||||
pck = (gpx->frame[pos_PTU]<<8) | gpx->frame[pos_PTU+1];
|
pck = (gpx->frame[pos_PTU]<<8) | gpx->frame[pos_PTU+1];
|
||||||
ofs = 0;
|
ofs = 0;
|
||||||
|
|
Ładowanie…
Reference in New Issue