Skip to content

Commit baa8178

Browse files
authored
Python3 change for uhsdr.py (#1879)
1 parent 6b93d8a commit baa8178

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mchf-eclipse/support/python/uhsdr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def readUHSDR(self):
104104
cmd = bytearray([ 0x00, 0x00 , 0x00, 0x00, CatCmd.UHSDR_ID])
105105
ok,res = self.execute(cmd,5)
106106

107-
return res == bytearray("UHSDR")
107+
return res == bytearray("UHSDR", 'utf-8')
108108

109109

110110
def writeEEPROM(self, addr, value16bit):

0 commit comments

Comments
 (0)