mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +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 "}\n"
|
||||
| "FALSE" ->
|
||||
lprintf "%s\n" statement;
|
||||
lprintf "%s;\n" statement;
|
||||
begin match break with
|
||||
| "TRUE" -> lprintf "NextStageAndBreak();\n";
|
||||
| "FALSE" -> lprintf "NextStage();\n";
|
||||
|
||||
Reference in New Issue
Block a user