mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-24 22:05:58 +08:00
IR/srtm button removed
This commit is contained in:
@@ -134,7 +134,6 @@ module Make(AircraftItl : AIRCRAFT_ITL) = struct
|
||||
|
||||
let last_gps_state = ref None in
|
||||
let _run = ref false in
|
||||
let ir_srtm = ref false in
|
||||
|
||||
let wind_x = ref 0.
|
||||
and wind_y = ref 0. in
|
||||
@@ -244,9 +243,6 @@ module Make(AircraftItl : AIRCRAFT_ITL) = struct
|
||||
end else
|
||||
take_off ();
|
||||
|
||||
let ir_srtm_button = GButton.toggle_button ~label:"IR/srtm" ~packing:hbox#pack () in
|
||||
ignore (ir_srtm_button#connect#toggled (fun () -> ir_srtm := not !ir_srtm));
|
||||
|
||||
let s = GButton.button ~label:"Set Pos" ~packing:hbox#pack () in
|
||||
ignore (s#connect#clicked ~callback:set_pos);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user