mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-07-29 08:19:17 +02:00
well?
This commit is contained in:
+1
-3
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user