mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-08-06 08:53:27 +02:00
Update mesh_bot.py
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@ hostname = config['interface'].get('hostname', '')
|
||||
mac = config['interface'].get('mac', '')
|
||||
|
||||
if interface_type == 'serial':
|
||||
interface = meshtastic.serial_interface.SerialInterface()
|
||||
interface = meshtastic.serial_interface.SerialInterface(port)
|
||||
elif interface_type == 'tcp':
|
||||
interface = meshtastic.tcp_interface.TCPInterface(hostname)
|
||||
elif interface_type == 'ble':
|
||||
|
||||
Reference in New Issue
Block a user