From fa30b4a50f3e5c5b97b48d19a8f9607e2a637771 Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Sat, 27 Dec 2025 15:34:59 +0100 Subject: [PATCH] reverse that --- scripts/0-rds2_oda.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/0-rds2_oda.lua b/scripts/0-rds2_oda.lua index ac193c1..11c0325 100644 --- a/scripts/0-rds2_oda.lua +++ b/scripts/0-rds2_oda.lua @@ -42,7 +42,7 @@ function rds2_group(stream) if _RDS2_ODA_pointer > #_RDS2_ODAs then _RDS2_ODA_pointer = 1 end 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) _RDS2_ODA_pointer = _RDS2_ODA_pointer + 1