mirror of
https://github.com/TheCommsChannel/TC2-BBS-mesh.git
synced 2025-03-05 20:51:53 -08:00
Merge branch 'TheCommsChannel:main' into Yorkshire-BBS
This commit is contained in:
commit
b685ac9506
|
@ -57,7 +57,7 @@ def main():
|
||||||
|
|
||||||
initialize_database()
|
initialize_database()
|
||||||
|
|
||||||
def receive_packet(packet):
|
def receive_packet(packet, interface):
|
||||||
on_receive(packet, interface)
|
on_receive(packet, interface)
|
||||||
|
|
||||||
pub.subscribe(receive_packet, system_config['mqtt_topic'])
|
pub.subscribe(receive_packet, system_config['mqtt_topic'])
|
||||||
|
|
Loading…
Reference in a new issue