Skip to content

Commit

Permalink
dr735t: Debug log the actual model string
Browse files Browse the repository at this point in the history
Related to #11300
  • Loading branch information
kk7ds committed Apr 13, 2024
1 parent 43992df commit 74a0f05
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions chirp/drivers/alinco_dr735t.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
from chirp.settings import RadioSettingGroup, RadioSetting
from chirp.settings import RadioSettingValueBoolean, RadioSettingValueList
from chirp.drivers.alinco import ALINCO_TONES, CHARSET
from chirp import util

import logging
import codecs
Expand Down Expand Up @@ -126,6 +127,7 @@ def _identify(self) -> bool:
self.pipe.read(len(command))
# expect DR735TN\r\n
radio_id = self.pipe.read(9).strip()
LOG.debug('Model string is %s' % util.hexprint(radio_id))
return radio_id == b"DR735TN"

def do_download(self):
Expand Down

0 comments on commit 74a0f05

Please sign in to comment.