Changeset 4438 in ntrip


Ignore:
Timestamp:
Jul 24, 2012, 6:07:02 PM (12 years ago)
Author:
mervart
Message:
 
Location:
trunk/rtcm3torinex/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/rtcm3torinex/lib/rtcm3torinexsupport.c

    r4437 r4438  
    2525*/
    2626
    27 #include "rtcm3torinexsupport.h"
     27#include "rtcm3torinex.h"
    2828
    2929int rrinex3codetoentry(const char *code)
     
    7575  return res;
    7676}
    77 
    78 std::string entry2rinexcode(const char* codetype[GNSS_MAXSATS][GNSSENTRY_NUMBER],
    79                             int iSat, int iEntry) {
    80   char str[3];
    81   switch(iEntry&3) {
    82    case GNSSENTRY_CODE:    str[0] = 'C'; break;
    83    case GNSSENTRY_PHASE:   str[0] = 'L'; break;
    84    case GNSSENTRY_DOPPLER: str[0] = 'D'; break;
    85    case GNSSENTRY_SNR:     str[0] = 'S'; break;
    86   }
    87   str[1] = codetype[iSat][iEntry][0];
    88   str[2] = codetype[iSat][iEntry][1];
    89   return std::string(str);
    90 }
  • trunk/rtcm3torinex/lib/rtcm3torinexsupport.h

    r4435 r4438  
    2323*/
    2424
    25 #include <string>
    26 extern "C" {
    27 #include "rtcm3torinex.h"
    28 }
    29 
    3025int rrinex3codetoentry(const char *code);
    3126
    32 std::string entry2rinexcode(const char* codetype[GNSS_MAXSATS][GNSSENTRY_NUMBER],
    33                             int iSat, int iEntry);
    34 
    3527#endif /* RTCM3TORINEXSUPPORT_H */
Note: See TracChangeset for help on using the changeset viewer.