mirror of
https://github.com/F4HTB/Universal_HamRadio_Remote_HTML5.git
synced 2024-09-21 07:27:10 +00:00
remove non used function
This commit is contained in:
parent
6c7fb6fba4
commit
80348273f7
11
UHRR
11
UHRR
@ -53,17 +53,6 @@ except:
|
||||
|
||||
AudioPanaHandlerClients = []
|
||||
|
||||
def to_byte_array(num):
|
||||
bytea = []
|
||||
n = num
|
||||
while n:
|
||||
bytea.append(n % 256)
|
||||
n //= 256
|
||||
n_bytes = len(bytea)
|
||||
if 2 ** (n_bytes * 8 - 1) <= num < 2 ** (n_bytes * 8):
|
||||
bytea.append(0)
|
||||
return bytearray(bytea)
|
||||
|
||||
class loadFFTdata(threading.Thread):
|
||||
|
||||
def __init__(self):
|
||||
|
Loading…
Reference in New Issue
Block a user