From bd4f0ed3fa11b95d3ed2a5f33a1bae3bb63babcc Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Wed, 31 Dec 2025 20:39:04 +0100 Subject: [PATCH] oh --- 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 44d9130..db7b4eb 100644 --- a/scripts/1-rft.lua +++ b/scripts/1-rft.lua @@ -89,7 +89,7 @@ function RftInstance:start() if self.crc_segment > #self.crc_data then self.crc_segment = 1 end return true, (2 << 14), self.aid, c, (high_byte << 8) | low_byte - else self.crc_sent_this_cycle = false end + elseif self.crc_sent_this_cycle then self.crc_sent_this_cycle = false end local base = self.file_segment * 5 + 1 local function b(i) return string.byte(self.file_data, base + i) or 0 end