Project

General

Profile

Bug #6217 » GA-2S_settings_done_right.patch

Tony Fuller, 08/11/2019 01:02 PM

View differences:

chirp/drivers/h777.py (date 1565553432000)
VENDOR = "Radioddity"
MODEL = "GA-2S"
_has_fm = False
_has_sidekey = False
@classmethod
def match_model(cls, filedata, filename):
# This model is only ever matched via metadata
return False
def get_settings(self):
globals()["SIDEKEYFUNCTION_LIST"] = ["Off", "Monitor", "Unused", "Alarm"]
return super(ROGA2SRadio, self).get_settings()
(5-5/5)