mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-12-16 00:44:21 -05:00
Added WeaveInterface
This commit is contained in:
parent
3d8eaffe9a
commit
6d47b59b1e
2 changed files with 4 additions and 1 deletions
|
|
@ -1,6 +1,5 @@
|
|||
import RNS
|
||||
import threading
|
||||
import serial
|
||||
import time
|
||||
|
||||
from collections import deque
|
||||
|
|
|
|||
|
|
@ -767,6 +767,10 @@ class Reticulum:
|
|||
interface_post_init(interface)
|
||||
interface.start()
|
||||
|
||||
if c["type"] == "WeaveInterface":
|
||||
interface = WeaveInterface.WeaveInterface(RNS.Transport, interface_config)
|
||||
interface_post_init(interface)
|
||||
|
||||
if interface == None:
|
||||
# Interface was not handled by any internal interface types,
|
||||
# attempt to load and initialise it from user-supplied modules
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue