TLeconte / vdlm2dec

vdl mode 2 SDR decoder
GNU General Public License v2.0
74 stars 23 forks source link

Typo in outacars.c when setting fl->oooi.lon #57

Closed x31415926 closed 1 year ago

x31415926 commented 1 year ago

The code in outacars.c for int outacars(flight_t *fl,unsigned char *txt, int len) looks like this:

if(oooi.epu) {
    fl->oooi.epu=oooi.epu;
    fl->oooi.lat=oooi.lat;
    fl->oooi.lat=oooi.lon;
}

Should set oooi.lon, not oooi.lat, on the last line.

TLeconte commented 1 year ago

Thanks. I commited the fix