added func to persist settings

This commit is contained in:
2017-12-27 18:00:59 +01:00
parent a59955000d
commit d029c2a5fe
+4
View File
@@ -50,6 +50,10 @@ class Client:
self.bulk_write(cs=None, cmd=gex.MSG_INI_WRITE, bulk=buffer) self.bulk_write(cs=None, cmd=gex.MSG_INI_WRITE, bulk=buffer)
def ini_persist(self):
""" Persist INI settings to Flash """
self.send_raw(type=gex.MSG_PERSIST_SETTINGS)
def get_callsign(self, name, type = None): def get_callsign(self, name, type = None):
""" Find unit by name and type """ """ Find unit by name and type """
u = self.unit_lu[name] u = self.unit_lu[name]