mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-02-26 20:33:53 +01:00
reverse that
This commit is contained in:
@@ -42,7 +42,7 @@ function rds2_group(stream)
|
|||||||
if _RDS2_ODA_pointer > #_RDS2_ODAs then _RDS2_ODA_pointer = 1 end
|
if _RDS2_ODA_pointer > #_RDS2_ODAs then _RDS2_ODA_pointer = 1 end
|
||||||
|
|
||||||
local oda = _RDS2_ODAs[_RDS2_ODA_pointer]
|
local oda = _RDS2_ODAs[_RDS2_ODA_pointer]
|
||||||
local channel_offset = 16 * (oda.file_related and 1 or 0)
|
local channel_offset = 16 * ((not oda.file_related) and 1 or 0)
|
||||||
local channel = ((_RDS2_ODA_pointer - 1 + channel_offset) & 0x3F)
|
local channel = ((_RDS2_ODA_pointer - 1 + channel_offset) & 0x3F)
|
||||||
|
|
||||||
_RDS2_ODA_pointer = _RDS2_ODA_pointer + 1
|
_RDS2_ODA_pointer = _RDS2_ODA_pointer + 1
|
||||||
|
|||||||
Reference in New Issue
Block a user