modules header are automaticaly include in the flight plan

This commit is contained in:
Gautier Hattenberger
2009-07-24 13:59:54 +00:00
parent 55038ac346
commit 4d98dcdc36
3 changed files with 3 additions and 6 deletions
-3
View File
@@ -1,9 +1,6 @@
<!DOCTYPE flight_plan SYSTEM "flight_plan.dtd">
<flight_plan alt="250" ground_alt="185" lat0="43.46223" lon0="1.27289" max_dist_from_home="400" name="test laas" qfu="270" security_height="25">
<header>
#include "formation.h"
</header>
<waypoints>
<waypoint alt="250" name="HOME" x="0.0" y="0.0"/>
<waypoint alt="215.0" name="IAF" x="239.7" y="92.9"/>
-3
View File
@@ -1,9 +1,6 @@
<!DOCTYPE flight_plan SYSTEM "flight_plan.dtd">
<flight_plan alt="250" ground_alt="185" lat0="43.46223" lon0="1.27289" max_dist_from_home="400" name="formation flight" qfu="270" security_height="25">
<header>
#include "formation.h"
</header>
<waypoints>
<waypoint name="HOME" x="0.0" y="0.0"/>
<waypoint name="mid" x="72.9" y="133.0"/>
+3
View File
@@ -713,6 +713,9 @@ let () =
printf "\n";
printf "#include \"std.h\"\n";
printf "#ifdef USE_MODULES\n";
printf "#include \"modules.h\"\n";
printf "#endif\n";
begin
try