This commit is contained in:
2026-04-22 20:17:04 +02:00
parent a9d016422e
commit 2173c575a2
+1 -1
View File
@@ -236,7 +236,7 @@ end
---@param packet string ---@param packet string
function uecp.parse_uecp(packet) function uecp.parse_uecp(packet)
local unstuffed = undo_byte_stuff(string.sub(packet, 2, #packet - 1)) local unstuffed = undo_byte_stuff(string.sub(packet, 2))
local addr1 = string.byte(unstuffed, 1) local addr1 = string.byte(unstuffed, 1)
local addr2 = string.byte(unstuffed, 2) local addr2 = string.byte(unstuffed, 2)