diff --git a/sw/ground_segment/cockpit/live.ml b/sw/ground_segment/cockpit/live.ml index b6118f14c6..c1f9183845 100644 --- a/sw/ground_segment/cockpit/live.ml +++ b/sw/ground_segment/cockpit/live.ml @@ -537,7 +537,7 @@ let create_ac = fun alert (geomap:G.widget) (acs_notebook:GPack.notebook) (ac_id Xml.Element("empty", [], []) in let dl_setting_callback = fun idx value -> - if classify_float value = FP_normal then + if classify_float value = FP_normal || classify_float value = FP_zero then dl_setting ac_id idx value else get_dl_setting ac_id idx diff --git a/sw/ground_segment/tmtc/settings.ml b/sw/ground_segment/tmtc/settings.ml index 74a8d7f0ce..3424396e33 100644 --- a/sw/ground_segment/tmtc/settings.ml +++ b/sw/ground_segment/tmtc/settings.ml @@ -47,7 +47,7 @@ let one_ac = fun (notebook:GPack.notebook) ac_name -> let callback = fun idx value -> let vs = ["ac_id", Pprz.String ac_id; "index", Pprz.Int idx] in - if classify_float value = FP_normal then + if classify_float value = FP_normal || classify_float value =FP_zero then let vs' = ("value", Pprz.Float value) :: vs in Ground_Pprz.message_send "dl" "DL_SETTING" vs' else