mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 03:53:34 +08:00
param json: ensure category is set to Standard if not set
For xml this was previously done on the QGC side.
This commit is contained in:
@@ -51,6 +51,8 @@ class JsonOutput():
|
||||
curr_param['group'] = group_name
|
||||
if param.GetCategory():
|
||||
curr_param['category'] = param.GetCategory()
|
||||
else:
|
||||
curr_param['category'] = 'Standard'
|
||||
|
||||
if param.GetVolatile():
|
||||
curr_param['volatile'] = True
|
||||
|
||||
Reference in New Issue
Block a user