Skip to content
Snippets Groups Projects
Commit cd6ff43c authored by chrissi^'s avatar chrissi^
Browse files

Setup-Command: squelsh must be int


Signed-off-by: default avatarChris Fiege <chris@tinyhost.de>
parent 1f92bfae
No related branches found
No related tags found
No related merge requests found
...@@ -70,7 +70,7 @@ class SA868(object): ...@@ -70,7 +70,7 @@ class SA868(object):
self._check_freq_range(tx_freq) self._check_freq_range(tx_freq)
self._check_squelsh_range(squelsh) self._check_squelsh_range(squelsh)
self._command("AT+DMOSETGROUP=0,{:8.4f},{:8.4f},0000,{},0000".format(tx_freq, rx_freq, squelsh), self._command("AT+DMOSETGROUP=0,{:8.4f},{:8.4f},0000,{},0000".format(tx_freq, rx_freq, int(squelsh)),
"+DMOSETGROUP:") "+DMOSETGROUP:")
def set_volume(self, volume): def set_volume(self, volume):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment