Changeset 9371 in ntrip
- Timestamp:
- Mar 11, 2021, 2:50:22 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/src/bncutils.cpp
r9363 r9371 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.