From 9c348e25d668672e90b5e350b9f3c8479d61486a Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Sun, 28 Dec 2025 23:18:14 +0100 Subject: [PATCH] still not sure --- scripts/1-rft.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/1-rft.lua b/scripts/1-rft.lua index 3d72515..82e46cf 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 << 12) | (_Rft_crc_mode & 7) << 11, crc16(_Rft_file) + return true, (2 << 14), _Rft_aid, (1 << 12) | (_Rft_crc_mode & 7) << 9 | (seg & 511), crc16(_Rft_file) else _Rft_crc_sent = false end