mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-31 20:38:27 +08:00
[flight_plan] add ; when using the 'call' statement without loop
This commit is contained in:
@@ -531,7 +531,7 @@ let rec print_stage = fun index_of_waypoints x ->
|
|||||||
lprintf " break;\n";
|
lprintf " break;\n";
|
||||||
lprintf "}\n"
|
lprintf "}\n"
|
||||||
| "FALSE" ->
|
| "FALSE" ->
|
||||||
lprintf "%s\n" statement;
|
lprintf "%s;\n" statement;
|
||||||
begin match break with
|
begin match break with
|
||||||
| "TRUE" -> lprintf "NextStageAndBreak();\n";
|
| "TRUE" -> lprintf "NextStageAndBreak();\n";
|
||||||
| "FALSE" -> lprintf "NextStage();\n";
|
| "FALSE" -> lprintf "NextStage();\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user