From 564b29c0f83737c9065c0f5f8294e0a2897759fe Mon Sep 17 00:00:00 2001 From: Hamish Willee Date: Thu, 24 Oct 2019 18:11:29 -0700 Subject: [PATCH] Fix incorrect default for parser --- src/lib/parameters/px4params/srcparser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/parameters/px4params/srcparser.py b/src/lib/parameters/px4params/srcparser.py index 65ea178ce6..60e773f8b6 100644 --- a/src/lib/parameters/px4params/srcparser.py +++ b/src/lib/parameters/px4params/srcparser.py @@ -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): """