Changeset 9368 in ntrip for trunk/BNC/src
- Timestamp:
- Mar 11, 2021, 2:12:35 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncutils.cpp
r9362 r9368 1043 1043 } 1044 1044 1045 // Extracts k bits from position p and returns the extracted value as integer 1046 //////////////////////////////////////////////////////////////////////////// 1047 int bitExtracted(int number, int k, int p) { 1048 return (((1 << k) - 1) & (number >> (p - 1))); 1049 } 1050 1045 1051 // Convert RTCM3 lock-time indicator to minimum lock time in seconds 1046 1052 ////////////////////////////////////////////////////////////////////////////
Note:
See TracChangeset
for help on using the changeset viewer.