0
1
mirror of https://github.com/radio95-rnt/rds95.git synced 2026-02-26 20:33:53 +01:00
This commit is contained in:
2025-12-29 00:12:26 +01:00
parent 4e24514fc7
commit 9f2808b468

View File

@@ -22,6 +22,7 @@ local function start_rft()
local base = seg * 5 + 1 local base = seg * 5 + 1
if not _Rft_crc_sent and _Rft_crc and (seg % 16 == 0) then if not _Rft_crc_sent and _Rft_crc and (seg % 16 == 0) then
_Rft_crc_sent = true
local c = (1 << 12) | (_Rft_crc_mode & 7) << 9 | (_Rft_crc_segment & 0x1ff) local c = (1 << 12) | (_Rft_crc_mode & 7) << 9 | (_Rft_crc_segment & 0x1ff)
_Rft_crc_segment = _Rft_crc_segment + 1 _Rft_crc_segment = _Rft_crc_segment + 1
if _Rft_crc_segment > #_Rft_crc_data then _Rft_crc_segment = 0 end if _Rft_crc_segment > #_Rft_crc_data then _Rft_crc_segment = 0 end