0
1
mirror of https://github.com/radio95-rnt/rds95.git synced 2026-02-26 20:33:53 +01:00

more documentation and allow bigger files for rds2

This commit is contained in:
2025-12-31 19:50:27 +01:00
parent a71a565d06
commit 93daa223f3
2 changed files with 7 additions and 7 deletions

View File

@@ -158,7 +158,7 @@ function RftInstance:sendFile(aid, path, id, crc, once)
end
end
if f_size > 262143 then error("File too large") end
if f_size > (0x3ffff * 5) then error("File too large") end
if self.oda_id == nil then self:start() end
set_oda_id_data_rds2(self.oda_id, f_size | (id & 63) << 18 | (self.version & 7) << 24 | (self.crc_enabled and 1 or 0) << 27)