mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-07-30 16:59:15 +02:00
rds2 oda proper hook
This commit is contained in:
@@ -67,7 +67,7 @@ function rds2_oda.set_oda_handler_rds2(oda_id, func)
|
|||||||
_RDS2_ODAs[oda_id].handler = func
|
_RDS2_ODAs[oda_id].handler = func
|
||||||
end
|
end
|
||||||
|
|
||||||
function rds2_oda.rds2_group(stream)
|
function hooks.rds2_group(stream)
|
||||||
if #_RDS2_ODAs == 0 then return false, 0, 0, 0, 0 end
|
if #_RDS2_ODAs == 0 then return false, 0, 0, 0, 0 end
|
||||||
|
|
||||||
if _RDS2_ODA_pointer > #_RDS2_ODAs then _RDS2_ODA_pointer = 1 end
|
if _RDS2_ODA_pointer > #_RDS2_ODAs then _RDS2_ODA_pointer = 1 end
|
||||||
|
|||||||
Reference in New Issue
Block a user