summaryrefslogtreecommitdiff
path: root/gps/gps.py
diff options
context:
space:
mode:
Diffstat (limited to 'gps/gps.py')
-rwxr-xr-xgps/gps.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gps/gps.py b/gps/gps.py
index aa9c099e..4935d8c7 100755
--- a/gps/gps.py
+++ b/gps/gps.py
@@ -231,6 +231,7 @@ class gps(gpscommon, gpsdata, gpsjson):
self.fix.eps = default("eps", NaN, SPEEDERR_SET)
self.fix.epc = default("epc", NaN, CLIMBERR_SET)
self.fix.mode = default("mode", 0, MODE_SET)
+ self.fix.status = default("status",1)
elif self.data.get("class") == "SKY":
for attrp in ("x", "y", "v", "h", "p", "g"):
setattr(self, attrp + "dop", default(attrp + "dop", NaN, DOP_SET))