diff --git a/scripts/1-rft.lua b/scripts/1-rft.lua index 7a3c380..bc28744 100644 --- a/scripts/1-rft.lua +++ b/scripts/1-rft.lua @@ -24,7 +24,7 @@ local function start_rft() _Rft_crc_sent = true if _Rft_crc_mode ~= 0 then warn("rft: No other crc than mode 0 is supported as of now") end _Rft_crc_mode = 0 - return true, (2 << 14), _Rft_aid, (1 << 29) | (_Rft_crc_mode & 7) << 25 | (seg & 511), crc16(_Rft_file) + return true, (2 << 14), _Rft_aid, (1 << 28) | (_Rft_crc_mode & 7) << 25, crc16(_Rft_file) else _Rft_crc_sent = false end