Changeset 5660 in ntrip for trunk/rtcm3torinex
- Timestamp:
- Apr 15, 2014, 4:06:01 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/rtcm3torinex/lib/rtcm3torinex.c
r5658 r5660 1606 1606 gnss->measdata[num][cd.typeP] = cp[count]*LIGHTSPEED/1000.0/wl 1607 1607 +(rrmod[numsat])*LIGHTSPEED/1000.0/wl; 1608 if(handle->lastlockmsm[j][i] != ll[count]) 1609 { 1608 if(handle->lastlockmsm[j][i] > ll[count]) 1610 1609 gnss->dataflags2[num] |= cd.lock; 1611 handle->lastlockmsm[j][i] = ll[count]; 1612 } 1610 handle->lastlockmsm[j][i] = ll[count] > 255 ? 255 : ll[count]; 1613 1611 gnss->dataflags[num] |= (1LL<<cd.typeP); 1614 1612 } … … 1626 1624 gnss->measdata[num][cd.typeP] = cp[count]*LIGHTSPEED/1000.0/wl 1627 1625 +(rrmod[numsat]+rrint[numsat])*LIGHTSPEED/1000.0/wl; 1628 if(handle->lastlockmsm[j][i] != ll[count]) 1629 { 1626 if(handle->lastlockmsm[j][i] > ll[count]) 1630 1627 gnss->dataflags2[num] |= cd.lock; 1631 handle->lastlockmsm[j][i] = ll[count]; 1632 } 1628 handle->lastlockmsm[j][i] = ll[count] > 255 ? 255 : ll[count]; 1633 1629 gnss->dataflags[num] |= (1LL<<cd.typeP); 1634 1630 } … … 1646 1642 gnss->measdata[num][cd.typeP] = cp[count]*LIGHTSPEED/1000.0/wl 1647 1643 +(rrmod[numsat]+rrint[numsat])*LIGHTSPEED/1000.0/wl; 1648 if(handle->lastlockmsm[j][i] != ll[count]) 1649 { 1644 if(handle->lastlockmsm[j][i] > ll[count]) 1650 1645 gnss->dataflags2[num] |= cd.lock; 1651 handle->lastlockmsm[j][i] = ll[count]; 1652 } 1646 handle->lastlockmsm[j][i] = ll[count] > 255 ? 255 : ll[count]; 1653 1647 gnss->dataflags[num] |= (1LL<<cd.typeP); 1654 1648 } … … 1669 1663 gnss->measdata[num][cd.typeP] = cp[count]*LIGHTSPEED/1000.0/wl 1670 1664 +(rrmod[numsat]+rrint[numsat])*LIGHTSPEED/1000.0/wl; 1671 if(handle->lastlockmsm[j][i] != ll[count]) 1672 { 1665 if(handle->lastlockmsm[j][i] > ll[count]) 1673 1666 gnss->dataflags2[num] |= cd.lock; 1674 handle->lastlockmsm[j][i] = ll[count]; 1675 } 1667 handle->lastlockmsm[j][i] = ll[count] > 255 ? 255 : ll[count]; 1676 1668 gnss->dataflags[num] |= (1LL<<cd.typeP); 1677 1669 } … … 1699 1691 gnss->measdata[num][cd.typeP] = cp[count]*LIGHTSPEED/1000.0/wl 1700 1692 +(rrmod[numsat]+rrint[numsat])*LIGHTSPEED/1000.0/wl; 1701 if(handle->lastlockmsm[j][i] != ll[count]) 1702 { 1693 if(handle->lastlockmsm[j][i] > ll[count]) 1703 1694 gnss->dataflags2[num] |= cd.lock; 1704 handle->lastlockmsm[j][i] = ll[count]; 1705 } 1695 handle->lastlockmsm[j][i] = ll[count] > 255 ? 255 : ll[count]; 1706 1696 gnss->dataflags[num] |= (1LL<<cd.typeP); 1707 1697 } … … 1722 1712 gnss->measdata[num][cd.typeP] = cp[count]*LIGHTSPEED/1000.0/wl 1723 1713 +(rrmod[numsat]+rrint[numsat])*LIGHTSPEED/1000.0/wl; 1724 if(handle->lastlockmsm[j][i] != ll[count]) 1725 { 1714 if(handle->lastlockmsm[j][i] > ll[count]) 1726 1715 gnss->dataflags2[num] |= cd.lock; 1727 handle->lastlockmsm[j][i] = ll[count]; 1728 } 1716 handle->lastlockmsm[j][i] = ll[count] > 255 ? 255 : ll[count]; 1729 1717 gnss->dataflags[num] |= (1LL<<cd.typeP); 1730 1718 }
Note:
See TracChangeset
for help on using the changeset viewer.