Update system.py

This commit is contained in:
SpudGunMan
2024-11-28 21:16:09 -08:00
parent db4edac083
commit cf282e04bb
+2
View File
@@ -614,6 +614,8 @@ def handleMultiPing(nodeID=0, deviceID=1):
# divide buffer by start_count and get resolution
resolution = maxBuffer // start_count
slice = resolution * count
if slice > maxBuffer:
slice = maxBuffer
# set the type as a portion of the buffer
type = buffer[slice - resolution:]