added func to persist settings

doublebuf
Ondřej Hruška 7 years ago
parent a59955000d
commit d029c2a5fe
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 4
      gex/Client.py

@ -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]

Loading…
Cancel
Save