GA-2S_settings_done_right.patch

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

Download (711 Bytes)

chirp/drivers/h777.py (date 1565553432000)
612 612
    VENDOR = "Radioddity"
613 613
    MODEL = "GA-2S"
614 614
    _has_fm = False
615
    _has_sidekey = False
616 615

  
617 616
    @classmethod
618 617
    def match_model(cls, filedata, filename):
619 618
        # This model is only ever matched via metadata
620 619
        return False
620

  
621
    def get_settings(self):
622
        globals()["SIDEKEYFUNCTION_LIST"] = ["Off", "Monitor", "Unused", "Alarm"]
623
        return super(ROGA2SRadio, self).get_settings()