From d086120f8566673444e8762ce80a4ec35a4900f2 Mon Sep 17 00:00:00 2001 From: csrichter Date: Sat, 26 Nov 2016 00:38:14 +0100 Subject: [PATCH] CT minutes fixed (again), and tested --- python/rds_parser_table_qt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/rds_parser_table_qt.py b/python/rds_parser_table_qt.py index 444ca14..b5e0866 100644 --- a/python/rds_parser_table_qt.py +++ b/python/rds_parser_table_qt.py @@ -166,7 +166,7 @@ class rds_parser_table_qt(gr.sync_block): elif (groupType == "4A"):#CT clock time datecode=((array[3] & 0x03) << 15) | (array[4] <<7)|((array[5] >> 1) & 0x7f) hours=((array[5] & 0x1) << 4) | ((array[6] >> 4) & 0x0f) - minutes=((array[6] &0x0F)>>6)|((array[7] >>6)&0x3) + minutes=((array[6] &0x0F)<<2)|((array[7] >>6)&0x3) offsetdir=(array[7]>>5)&0x1 local_time_offset=0.5*((array[7])&0x1F) if(offsetdir==1):