Rev 327 | Rev 329 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 327 | Rev 328 | ||
---|---|---|---|
Line 1443... | Line 1443... | ||
1443 | // TODO: verify correctness |
1443 | // TODO: verify correctness |
1444 | uint16_t heading_home = (naviData.HomePositionDeviation.Bearing + 360 - naviData.CompassHeading) % 360; |
1444 | uint16_t heading_home = (naviData.HomePositionDeviation.Bearing + 360 - naviData.CompassHeading) % 360; |
1445 | write_char_xy(27, top_line + 1, arrowdir[heading_conv(heading_home)]); |
1445 | write_char_xy(27, top_line + 1, arrowdir[heading_conv(heading_home)]); |
Line 1446... | Line 1446... | ||
1446 | 1446 | ||
Line 1447... | Line 1447... | ||
1447 | 1447 | ||
1448 | write_number_s(22, top_line + 1, naviData.HomePositionDeviation.Distance); |
1448 | write_number_s(22, top_line + 1, naviData.HomePositionDeviation.Distance/100); |
1449 | 1449 | ||
1450 | // center |
1450 | // center |
Line 1471... | Line 1471... | ||
1471 | write_ascii_string(2, 8, "min voltage :"); |
1471 | write_ascii_string(2, 8, "min voltage :"); |
1472 | //write_number_s(17, 8, min_UBat/10); |
1472 | //write_number_s(17, 8, min_UBat/10); |
1473 | write_number_u_10th(16, 8, min_UBat); |
1473 | write_number_u_10th(16, 8, min_UBat); |
1474 | write_ascii_string(22, 8, "V"); // voltage |
1474 | write_ascii_string(22, 8, "V"); // voltage |
1475 | write_ascii_string(2, 9, "max time :"); |
1475 | write_ascii_string(2, 9, "max time :"); |
1476 | write_number_s(17, 9, max_FlyingTime); |
1476 | write_time(16, 9, max_FlyingTime); |
1477 | write_char_xy(22, 9, 210); // fly clock |
1477 | write_char_xy(22, 9, 210); // fly clock |
1478 | } |
1478 | } |
Line 1479... | Line 1479... | ||
1479 | 1479 | ||
1480 | // bottom line |
1480 | // bottom line |