mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-06 07:53:43 +08:00
[ocaml] fix warning in live.ml
This commit is contained in:
@@ -1480,7 +1480,7 @@ let listen_intruders = fun (geomap:G.widget) ->
|
||||
let listen_acs_and_msgs = fun geomap ac_notebook strips confirm_kill my_alert auto_center_new_ac alt_graph timestamp ->
|
||||
(** Probe live A/Cs *)
|
||||
let probe = fun () ->
|
||||
message_request "gcs" "AIRCRAFTS" [] (fun _sender vs -> _req_aircrafts := false; aircrafts_msg confirm_kill my_alert geomap ac_notebook strips vs) in
|
||||
ignore(message_request "gcs" "AIRCRAFTS" [] (fun _sender vs -> _req_aircrafts := false; aircrafts_msg confirm_kill my_alert geomap ac_notebook strips vs)) in
|
||||
let _ = GMain.Timeout.add 1000 (fun () -> probe (); !_req_aircrafts) in
|
||||
|
||||
(** New aircraft message *)
|
||||
|
||||
Reference in New Issue
Block a user