diff --git a/python/rds_parser_table_qt.py b/python/rds_parser_table_qt.py index 68acbf6..e590c3c 100644 --- a/python/rds_parser_table_qt.py +++ b/python/rds_parser_table_qt.py @@ -790,10 +790,10 @@ class rds_parser_table_qt(gr.sync_block):#START seg_adr_start=(adr-4)*4#start of segment text_list[seg_adr_start:seg_adr_start+4]=segment self.RDS_data[PI]["AID_list"][52550]["provider name"]="".join(text_list) - if adr==6: - AF1_ON=tmc_y>>8 - AF2_ON=tmc_y&0xff - PI_ON=tmc_z + if adr==6: + AF1_ON=tmc_y>>8 + AF2_ON=tmc_y&0xff + PI_ON=tmc_z if adr== 7:#freq of tuned an mapped station (not seen yet) freq_TN=tmc_y>>8 freq_ON=tmc_y&0xff#mapped frequency @@ -802,10 +802,10 @@ class rds_parser_table_qt(gr.sync_block):#START print("TMC-info: TN:%i, station:%s"%(freq_TN,self.RDS_data[PI]["PSN"])) self.RDS_data[PI]["TMC_TN"]=freq_TN if adr== 9: - LTN_ON=(tmc_y>>10) - MGS_ON=(tmc_y>>6)&0xf - SID_ON=(tmc_y)&0x3f - PI_ON=tmc_z + LTN_ON=(tmc_y>>10) + MGS_ON=(tmc_y>>6)&0xf + SID_ON=(tmc_y)&0x3f + PI_ON=tmc_z else: if self.log or self.debug or True:#not seen yet -> always print print("alert plus on station %s (%s) , encrypted TMC?"%(PI,self.RDS_data[PI]["PSN"]))#(not seen yet)