This commit is contained in:
2026-04-22 20:21:05 +02:00
parent 6cf1453498
commit 5ebcae1eb6
+1 -3
View File
@@ -236,7 +236,7 @@ end
---@param packet string
function uecp.parse_uecp(packet)
local unstuffed = undo_byte_stuff(string.sub(packet, 2))
local unstuffed = undo_byte_stuff(string.sub(packet, 2, #packet - 1))
local addr1 = string.byte(unstuffed, 1)
local addr2 = string.byte(unstuffed, 2)
@@ -249,8 +249,6 @@ function uecp.parse_uecp(packet)
if mfl ~= #data then
print("data len not right")
print(mfl)
print(#data)
return
end