diff --git a/libraries/AP_Scripting/modules/MAVLink/Readme.md b/libraries/AP_Scripting/modules/MAVLink/Readme.md index 97924a1c33a075..24db0379b2d9ee 100644 --- a/libraries/AP_Scripting/modules/MAVLink/Readme.md +++ b/libraries/AP_Scripting/modules/MAVLink/Readme.md @@ -3,4 +3,6 @@ These .lua definition for messages can be generated using pymavlink with the fol ``` cd ardupilot/modules/mavlink python ./pymavlink/tools/mavgen.py --lang Lua ./message_definitions/v1.0/all.xml --out ./modules/MAVLink -``` \ No newline at end of file +``` + +Add `--wire-protocol 2.0` to include extension fields in the generated code