mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-02-26 20:33:53 +01:00
oh
This commit is contained in:
@@ -89,7 +89,7 @@ function RftInstance:start()
|
|||||||
if self.crc_segment > #self.crc_data then self.crc_segment = 1 end
|
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
|
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 base = self.file_segment * 5 + 1
|
||||||
local function b(i) return string.byte(self.file_data, base + i) or 0 end
|
local function b(i) return string.byte(self.file_data, base + i) or 0 end
|
||||||
|
|||||||
Reference in New Issue
Block a user