mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-30 11:37:06 +08:00
[generator] flight_plan rotorcraft does not parse return statement (#1942)
also parse return in rotorcraft, not just fixedwing
This commit is contained in:
committed by
Felix Ruess
parent
5aa76be56d
commit
f1038ccd12
@@ -124,6 +124,9 @@ let transform_stage = fun prefix reroutes env xml ->
|
||||
| "manual" ->
|
||||
let attribs = transform_values [] env attribs in
|
||||
Xml.Element (tag, attribs, children)
|
||||
| "return" ->
|
||||
let attribs = transform_values ["reset_stage"] env attribs in
|
||||
Xml.Element (tag, attribs, children)
|
||||
| "go" ->
|
||||
assert (children=[]);
|
||||
let attribs = transform_values ["wp";"from";"hmode";"vmode"] env attribs in
|
||||
|
||||
Reference in New Issue
Block a user