some small cleanup

This commit is contained in:
DJ2LS 2023-11-13 09:19:42 +01:00
parent 1a27458d14
commit 9fdeeff921
2 changed files with 1 additions and 3 deletions

View file

@ -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"))

View file

@ -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: