mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-24 07:09:48 +08:00
Fix incorrect default for parser
This commit is contained in:
committed by
Daniel Agar
parent
e65515cd9b
commit
662795cb90
@@ -59,7 +59,7 @@ class Parameter(object):
|
||||
self.default = default
|
||||
self.volatile = "false"
|
||||
self.category = ""
|
||||
self.boolean = "false"
|
||||
self.boolean = False
|
||||
|
||||
def GetName(self):
|
||||
return self.name
|
||||
@@ -107,7 +107,7 @@ class Parameter(object):
|
||||
"""
|
||||
Set boolean flag
|
||||
"""
|
||||
self.boolean = "true"
|
||||
self.boolean = True
|
||||
|
||||
def SetCategory(self, category):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user