0
1
mirror of https://github.com/radio95-rnt/rds95.git synced 2026-02-27 04:43:52 +01:00

all the functions

This commit is contained in:
2026-01-20 21:43:16 +01:00
parent 53c9169330
commit 48bad4ea9e
5 changed files with 32 additions and 27 deletions

View File

@@ -100,8 +100,8 @@ function rds2_group(stream)
local generated = false
checked = 0
while generated == false and checked < #_RDS2_ODAs do
local generated, a, b, c, d = oda.handler(stream)
if not generated then
local ok, generated, a, b, c, d = pcall(oda.handler(stream))
if not (generated and ok) then
_RDS2_ODA_pointer = _RDS2_ODA_pointer + 1
if _RDS2_ODA_pointer > #_RDS2_ODAs then _RDS2_ODA_pointer = 1 end
oda = _RDS2_ODAs[_RDS2_ODA_pointer]