diff --git a/src/osd/render.c b/src/osd/render.c index 9d6f92b06..b89c4b0c2 100644 --- a/src/osd/render.c +++ b/src/osd/render.c @@ -758,6 +758,11 @@ void osd_display() { " PT3", }; + const char *filter_enable_labels[] = { + " OFF", + " ON", + }; + osd_menu_select(4, 4, "PASS 1 TYPE"); if (osd_menu_select_enum(18, 4, profile.filter.gyro[0].type, filter_type_labels)) { profile.filter.gyro[0].type = osd_menu_adjust_int(profile.filter.gyro[0].type, 1, 0, FILTER_LP_PT3); @@ -780,12 +785,18 @@ void osd_display() { profile.filter.gyro[1].cutoff_freq = osd_menu_adjust_float(profile.filter.gyro[1].cutoff_freq, 10, 50, 500); } + osd_menu_select(4, 8, "DYNAMIC NOTCH"); + if (osd_menu_select_enum(18, 8, profile.filter.gyro_dynamic_notch_enable, filter_enable_labels)) { + profile.filter.gyro_dynamic_notch_enable = osd_menu_adjust_int(profile.filter.gyro_dynamic_notch_enable, 1, 0, 1); + osd_state.reboot_fc_requested = 1; + } + osd_menu_select_save_and_exit(4); osd_menu_finish(); break; } - case OSD_SCREEN_DTERM_FILTER: + case OSD_SCREEN_DTERM_FILTER: { osd_menu_start(); osd_menu_header("D-TERM FILTERS"); @@ -796,6 +807,11 @@ void osd_display() { " PT3", }; + const char *filter_enable_labels[] = { + " OFF", + " ON", + }; + osd_menu_select(4, 3, "PASS 1 TYPE"); if (osd_menu_select_enum(18, 3, profile.filter.dterm[0].type, filter_type_labels)) { profile.filter.dterm[0].type = osd_menu_adjust_int(profile.filter.dterm[0].type, 1, 0, FILTER_LP_PT2); @@ -819,8 +835,8 @@ void osd_display() { } osd_menu_select(4, 7, "DYNAMIC"); - if (osd_menu_select_enum(18, 7, profile.filter.dterm_dynamic_enable, filter_type_labels)) { - profile.filter.dterm_dynamic_enable = osd_menu_adjust_int(profile.filter.dterm_dynamic_enable, 1, 0, FILTER_LP_PT1); + if (osd_menu_select_enum(18, 7, profile.filter.dterm_dynamic_enable, filter_enable_labels)) { + profile.filter.dterm_dynamic_enable = osd_menu_adjust_int(profile.filter.dterm_dynamic_enable, 1, 0, 1); osd_state.reboot_fc_requested = 1; } @@ -837,6 +853,7 @@ void osd_display() { osd_menu_select_save_and_exit(4); osd_menu_finish(); break; + } case OSD_SCREEN_FLIGHT_MODES: { osd_menu_start();