mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-25 23:46:04 +08:00
generators: specify module in settings_autopilot.xml
add module (header file) even if no settings handler is given
This commit is contained in:
@@ -427,7 +427,7 @@ let write_settings = fun xml_file out_set ap ->
|
||||
match s with
|
||||
| [m; h] -> sprintf " module=\"%s\" handler=\"%s\"" m h
|
||||
| _ -> failwith "invalid handler format"
|
||||
with _ -> "" in
|
||||
with _ -> sprintf " module=\"autopilot_core_%s\"" name in
|
||||
(* Print if at least one mode has been found *)
|
||||
begin match min, max with
|
||||
| Some min_idx, Some max_idx ->
|
||||
|
||||
Reference in New Issue
Block a user