mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
fixed alc int/float conversion
This commit is contained in:
parent
22eed0b3e6
commit
5152161649
|
@ -287,7 +287,7 @@ class radio:
|
||||||
try:
|
try:
|
||||||
alc_response = self.send_command('l ALC')
|
alc_response = self.send_command('l ALC')
|
||||||
if alc_response not in [None, '']:
|
if alc_response not in [None, '']:
|
||||||
self.parameters['alc'] = int(alc_response)
|
self.parameters['alc'] = float(alc_response)
|
||||||
else:
|
else:
|
||||||
self.parameters['alc'] = 'err'
|
self.parameters['alc'] = 'err'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue