diff options
Diffstat (limited to 'Tools/px4params/dokuwikiout.py')
-rw-r--r-- | Tools/px4params/dokuwikiout.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/px4params/dokuwikiout.py b/Tools/px4params/dokuwikiout.py index 77e0ef53d..28e487ea6 100644 --- a/Tools/px4params/dokuwikiout.py +++ b/Tools/px4params/dokuwikiout.py @@ -12,11 +12,11 @@ class DokuWikiTablesOutput(): result += "^ Name ^ Description ^ Min ^ Max ^ Default ^\n" result += "^ ::: ^ Comment ^^^^\n" for param in group.GetParams(): - code = param.GetFieldValue("code") + code = param.GetName() + def_val = param.GetDefault() name = param.GetFieldValue("short_desc") min_val = param.GetFieldValue("min") max_val = param.GetFieldValue("max") - def_val = param.GetFieldValue("default") long_desc = param.GetFieldValue("long_desc") if name == code: |