Update system.py

This commit is contained in:
SpudGunMan
2025-10-18 08:42:48 -07:00
parent 345541dfb5
commit e08a82ec39
+2
View File
@@ -820,7 +820,9 @@ def send_raw_bytes(nodeid, raw_bytes, nodeInt=1, channel=0, portnum=256, want_a
channelIndex=channel,
wantAck=want_ack
)
# Throttle the message sending to prevent spamming the device
logger.debug(f"Sent raw bytes to {nodeid} on portnum {portnum} via Device{nodeInt}")
time.sleep(responseDelay)
return True
except Exception as e:
logger.error(f"System: Error sending raw bytes to {nodeid} via Device{nodeInt}: {e} bytes: {raw_bytes}")