comparison sw/sniff-dec/pps.c @ 54:2855330ab96f

simsniff-dec: bug in PPS decoder
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 03 Oct 2023 23:32:43 +0000
parents 118a12e9483b
children
comparison
equal deleted inserted replaced
53:737579209153 54:2855330ab96f
49 if (pps_bytes[1] & 0x20) 49 if (pps_bytes[1] & 0x20)
50 return; 50 return;
51 substate = SUBST_PPS3; 51 substate = SUBST_PPS3;
52 } 52 }
53 if (substate == SUBST_PPS3) { 53 if (substate == SUBST_PPS3) {
54 if (pps_bytes[2] & 0x40) 54 if (pps_bytes[1] & 0x40)
55 return; 55 return;
56 substate = SUBST_PCK; 56 substate = SUBST_PCK;
57 } 57 }
58 if (substate == SUBST_PCK) 58 if (substate == SUBST_PCK)
59 return; 59 return;