From af9e6a94b02f6a2d872d348aa840d0133be25bd1 Mon Sep 17 00:00:00 2001 From: Cyril Jaquier Date: Fri, 10 Mar 2017 14:44:23 +0100 Subject: [PATCH 1/2] Make crosshairs visible even if accel is disabled --- src/main/io/osd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/io/osd.c b/src/main/io/osd.c index 145676a67e..4bf42721fe 100644 --- a/src/main/io/osd.c +++ b/src/main/io/osd.c @@ -496,11 +496,11 @@ void osdDrawElements(void) #endif { osdDrawSingleElement(OSD_ARTIFICIAL_HORIZON); - osdDrawSingleElement(OSD_CROSSHAIRS); } osdDrawSingleElement(OSD_MAIN_BATT_VOLTAGE); osdDrawSingleElement(OSD_RSSI_VALUE); + osdDrawSingleElement(OSD_CROSSHAIRS); osdDrawSingleElement(OSD_FLYTIME); osdDrawSingleElement(OSD_ONTIME); osdDrawSingleElement(OSD_FLYMODE); @@ -537,6 +537,7 @@ void pgResetFn_osdConfig(osdConfig_t *osdProfile) { osdProfile->item_pos[OSD_RSSI_VALUE] = OSD_POS(8, 1) | VISIBLE_FLAG; osdProfile->item_pos[OSD_MAIN_BATT_VOLTAGE] = OSD_POS(12, 1) | VISIBLE_FLAG; + osdProfile->item_pos[OSD_CROSSHAIRS] = OSD_POS(8, 6) | VISIBLE_FLAG; osdProfile->item_pos[OSD_ARTIFICIAL_HORIZON] = OSD_POS(8, 6) | VISIBLE_FLAG; osdProfile->item_pos[OSD_HORIZON_SIDEBARS] = OSD_POS(8, 6) | VISIBLE_FLAG; osdProfile->item_pos[OSD_ONTIME] = OSD_POS(22, 1) | VISIBLE_FLAG; From a7e5c4cf0cf3d9809c93aef9db4d74278fed082b Mon Sep 17 00:00:00 2001 From: Cyril Jaquier Date: Fri, 10 Mar 2017 14:44:48 +0100 Subject: [PATCH 2/2] Add crosshairs to CMS --- src/main/cms/cms_menu_osd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/cms/cms_menu_osd.c b/src/main/cms/cms_menu_osd.c index 2de93f9b56..6508ebe9b5 100644 --- a/src/main/cms/cms_menu_osd.c +++ b/src/main/cms/cms_menu_osd.c @@ -106,6 +106,7 @@ OSD_Entry menuOsdActiveElemsEntries[] = {"RSSI", OME_VISIBLE, NULL, &osdConfig_item_pos[OSD_RSSI_VALUE], 0}, {"MAIN BATTERY", OME_VISIBLE, NULL, &osdConfig_item_pos[OSD_MAIN_BATT_VOLTAGE], 0}, {"AVG CELL VOLTAGE", OME_VISIBLE, NULL, &osdConfig_item_pos[OSD_AVG_CELL_VOLTAGE], 0}, + {"CROSSHAIRS", OME_VISIBLE, NULL, &osdConfig_item_pos[OSD_CROSSHAIRS], 0}, {"HORIZON", OME_VISIBLE, NULL, &osdConfig_item_pos[OSD_ARTIFICIAL_HORIZON], 0}, {"HORIZON SIDEBARS", OME_VISIBLE, NULL, &osdConfig_item_pos[OSD_HORIZON_SIDEBARS], 0}, {"UPTIME", OME_VISIBLE, NULL, &osdConfig_item_pos[OSD_ONTIME], 0},