Subversion Repositories Projects

Rev

Rev 355 | Rev 377 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 355 Rev 373
Line 575... Line 575...
575
                } else if (rxd_buffer[2] == 'O') { // NC OSD Data
575
                } else if (rxd_buffer[2] == 'O') { // NC OSD Data
576
                    Decode64();
576
                    Decode64();
577
                    naviData = *((NaviData_t*) pRxData);
577
                    naviData = *((NaviData_t*) pRxData);
Line 578... Line 578...
578
 
578
 
579
                    // first line
579
                    // first line
Line 580... Line 580...
580
                    write_ndigit_number_u(2, top_line, (uint16_t) (((uint32_t) naviData.GroundSpeed * 36) / 1000), 100, 0);
580
                    write_ndigit_number_u(2, top_line, (uint16_t) (((uint32_t) naviData.GroundSpeed * (uint32_t)9) / (uint32_t)250), 100, 0);
581
 
581
 
582
                    write_ndigit_number_u(7, top_line, naviData.RC_Quality, 100, 0);
582
                    write_ndigit_number_u(7, top_line, naviData.RC_Quality, 100, 0);
583
                    if (naviData.RC_Quality <= RCLVL_WRN && last_RC_Quality > RCLVL_WRN) {
583
                    if (naviData.RC_Quality <= RCLVL_WRN && last_RC_Quality > RCLVL_WRN) {