mirror of
https://github.com/meshtastic/python.git
synced 2026-09-14 14:28:24 -04:00
fix gpio service
This commit is contained in:
1 parent
767130014a
commit
b6eb415620
1 file changed
+1
-1
@@ -8,7 +8,7 @@ def onGPIOreceive(packet, interface):
|
||||
|
||||
FIXME figure out how to do closures with methods in python"""
|
||||
pb = remote_hardware_pb2.HardwareMessage()
|
||||
pb.ParseFromString(packet["decoded"]["data"]["payload"])
|
||||
pb.ParseFromString(packet["decoded"]["payload"])
|
||||
print(f"Received RemoteHardware typ={pb.typ}, gpio_value={pb.gpio_value}")
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user