Subversion Repositories Projects

Rev

Rev 349 | Rev 373 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 349 Rev 355
Line 620... Line 620...
620
 
620
 
621
                    // TODO: verify correctness
621
                    // TODO: verify correctness
622
                    uint16_t heading_home = (naviData.HomePositionDeviation.Bearing + 360 - naviData.CompassHeading) % 360;
622
                    uint16_t heading_home = (naviData.HomePositionDeviation.Bearing + 360 - naviData.CompassHeading) % 360;
Line 623... Line 623...
623
                    write_char_xy(27, top_line + 1, arrowdir[heading_conv(heading_home)]);
623
                    write_char_xy(27, top_line + 1, arrowdir[heading_conv(heading_home)]);
Line 624... Line 624...
624
 
624
 
625
                    write_ndigit_number_u(24, top_line + 1, naviData.HomePositionDeviation.Distance / 100, 100, 0);
625
                    write_ndigit_number_u(24, top_line + 1, naviData.HomePositionDeviation.Distance / 10, 100, 0);
626
 
626
 
627
                    // center
627
                    // center