From fd2824d18ba8178b90f3e9859a26b1e7553db011 Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Wed, 31 Dec 2025 20:42:10 +0100 Subject: [PATCH] no clue --- scripts/1-rft.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/1-rft.lua b/scripts/1-rft.lua index db7b4eb..d4c39ef 100644 --- a/scripts/1-rft.lua +++ b/scripts/1-rft.lua @@ -68,10 +68,7 @@ function RftInstance:start() local total_segments = math.ceil(#self.file_data / 5) - local last_stream = false - if stream == (math.min(get_available_rds_streams(), get_rds_streams()) - 1) then last_stream = true end - - if not self.crc_sent_this_cycle and self.crc_enabled and (self.file_segment % 16 == 0) and (not last_stream) then + if not self.crc_sent_this_cycle and self.crc_enabled and (self.file_segment % 16 == 0) then self.crc_sent_this_cycle = true local chunk_address = math.floor((self.crc_segment - 1) / 2) local c = (1 << 12) | (self.crc_mode & 7) << 9 | (chunk_address & 0x1ff)