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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user