Skip to content

Commit eb86fa1

Browse files
-WP arrow fix for latest arduplane
-Alt error fix on tune panel
1 parent a534477 commit eb86fa1

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

MinimOSD_Extra_Plane_Pre_release_Beta/OSD_Panels.ino

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ void panRSSI(int first_col, int first_line){
289289
}
290290
if(rssiraw_on == 1) rssi = (int16_t)osd_rssi;
291291
if(rssiraw_on == 9) rssi = chan8_raw;
292-
osd.printf("%c%4i%c", 0x09, rssi, 0x25);
292+
osd.printf("%c%3i%c", 0x09, rssi, 0x25);
293293
osd.closePanel();
294294
}
295295

@@ -512,7 +512,7 @@ void panOff(){
512512
osd.setPanel(first_col, first_line);
513513
osd.openPanel();
514514

515-
osd.printf("%c%3.0f%c%c", 0xb0, (alt_error * converth * -1), high, 0x20, 0xb1, ((aspd_error / 100.0) * converts), spe, 0x20);
515+
osd.printf("%c%3.0f%c%c|%c%3.0f%c%c", 0xb0, (alt_error * converth * -1), high, 0x20, 0xb1, ((aspd_error / 100.0) * converts), spe, 0x20);
516516

517517
osd.closePanel();
518518
}
@@ -1055,11 +1055,11 @@ void panWPDis(int first_col, int first_line){
10551055
osd.printf("%c%c%2i%c%4.0f%c|",0x57, 0x70, wp_number,0x0,(double)((float)(wp_dist) * converth),high);
10561056
showArrow((uint8_t)wp_target_bearing_rotate_int,0);
10571057

1058-
// if (osd_mode == 10 || osd_mode == 15 || osd_mode == 7){
1058+
if (osd_mode == 10 || osd_mode == 15 || osd_mode == 7){
10591059
osd.printf("%c%c%c%4.0f%c", 0x20, 0x58, 0x65, (xtrack_error* converth), high);
1060-
// }else{
1061-
// osd.printf_P(PSTR("\x20\x20\x20\x20\x20\x20\x20\x20"));
1062-
// }
1060+
}else{
1061+
osd.printf_P(PSTR("\x20\x20\x20\x20\x20\x20\x20\x20"));
1062+
}
10631063
osd.closePanel();
10641064
}
10651065

0 commit comments

Comments
 (0)