From bcb5541dbb7924ab5695bcf24cc66620a86b3014 Mon Sep 17 00:00:00 2001 From: Eugene Crosser Date: Wed, 27 Apr 2022 21:06:50 +0200 Subject: [PATCH] remove forgotten make_packet() call --- gps303/gps303proto.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gps303/gps303proto.py b/gps303/gps303proto.py index 59a700e..2fe0af0 100755 --- a/gps303/gps303proto.py +++ b/gps303/gps303proto.py @@ -275,7 +275,7 @@ class STATUS(GPS303Pkt): return self def out_encode(self): # Set interval in minutes - return cls.make_packet(pack("B", self.upload_interval)) + return pack("B", self.upload_interval) class HIBERNATION(GPS303Pkt): # Server can send to send devicee to sleep @@ -433,7 +433,7 @@ class DND_PERIOD(GPS303Pkt): class RESTART_SHUTDOWN(GPS303Pkt): PROTO = 0x48 - OUT_KWARGS = (("flag", int, 2),) + OUT_KWARGS = (("flag", int, 0),) def out_encode(self): # 1 - restart -- 2.43.0