Open GoogleCodeExporter opened 8 years ago
[deleted comment]
[deleted comment]
To enable decimals in alt to be shown <10m the following changes in code need
to be done: in OSD_Panels.ino line 429
osd.printf("%c%5.0f%c",0xE7, (double)((osd_alt - osd_home_alt) * converth), high);
should be changed to
// if Altitude closer to home/ground then 10 meters show decimal in home
altitude
if (abs(osd_alt - osd_home_alt) < 10 ) { osd.printf("%c%5.1f%c",0xE7, (double)((osd_alt - osd_home_alt) * converth), high);}
else { osd.printf("%c%5.0f%c",0xE7, (double)((osd_alt - osd_home_alt) * converth), high);}
Please include it into next version.
Original comment by i...@koronker.ru
on 24 Oct 2013 at 2:46
Original issue reported on code.google.com by
i...@koronker.ru
on 22 Oct 2013 at 12:54