In several places in the code, a conversion is made from
double frequency in MHz to int frequency in tens-of-kHz.
The conversion was done unwisely, i.e. in a way that is
incompatible with the way 25-kHz frequencies are rounded
in near-universal aviation practice ... and, in particular,
as done in the apt.dat file.

This is particularly noticeable in the case of ATIS and
AWOS frequencies, which commonly use 25-kHz frequencies.

1) I created a structured reference, and

2) I made it work.

The upgrade has been incorporated in the _Sport Model_.
For details on the _Sport Model_, see
    
http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg11530.html



===============

For those of you who are still using the boring old CVS
model, here's a patch for you.

   http://www.av8n.com/fly/fgfs/kHz10.diff


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to