mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 10:04:33 +02:00
some small cleanup
This commit is contained in:
parent
1a27458d14
commit
9fdeeff921
|
@ -6,7 +6,6 @@ def get_ports():
|
|||
|
||||
serial_devices = []
|
||||
ports = serial.tools.list_ports.comports()
|
||||
print(ports)
|
||||
for port, desc, hwid in ports:
|
||||
# calculate hex of hwid if we have unique names
|
||||
crc_hwid = crc_algorithm(bytes(hwid, encoding="utf-8"))
|
||||
|
|
|
@ -27,8 +27,7 @@ class SM:
|
|||
|
||||
# optionally start explorer module
|
||||
if self.config['STATION']['enable_explorer']:
|
||||
explorer.explorer(self.config, self.states)
|
||||
|
||||
explorer.explorer(self.config, self.states)
|
||||
|
||||
def runner(self):
|
||||
while True:
|
||||
|
|
Loading…
Reference in a new issue