mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-23 04:45:37 +08:00
fix generated includes for generated header files
This commit is contained in:
@@ -724,7 +724,7 @@ let () =
|
||||
printf "\n";
|
||||
|
||||
printf "#include \"std.h\"\n";
|
||||
printf "#include \"modules.h\"\n";
|
||||
printf "#include \"generated/modules.h\"\n";
|
||||
|
||||
begin
|
||||
try
|
||||
|
||||
@@ -229,7 +229,7 @@ let print_event_functions = fun modules ->
|
||||
|
||||
let print_datalink_functions = fun modules ->
|
||||
lprintf out_h "\n#include \"messages.h\"\n";
|
||||
lprintf out_h "#include \"airframe.h\"\n";
|
||||
lprintf out_h "#include \"generated/airframe.h\"\n";
|
||||
lprintf out_h "static inline void modules_parse_datalink(uint8_t msg_id __attribute__ ((unused))) {\n";
|
||||
right ();
|
||||
let else_ = ref "" in
|
||||
|
||||
@@ -66,7 +66,7 @@ let print_dl_settings = fun settings ->
|
||||
|
||||
lprintf "\n";
|
||||
StringSet.iter (fun m -> lprintf "#include \"%s.h\"\n" m) !modules;
|
||||
lprintf "#include \"modules.h\"\n";
|
||||
lprintf "#include \"generated/modules.h\"\n";
|
||||
lprintf "\n";
|
||||
|
||||
(** Macro to call to set one variable *)
|
||||
|
||||
Reference in New Issue
Block a user