Skip to content

Commit 7393b9b

Browse files
committed
Support for Advanced Navigation ANPP format
1 parent af7be18 commit 7393b9b

5 files changed

Lines changed: 551 additions & 23 deletions

File tree

src/convrnx.c

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -340,16 +340,7 @@ static int open_strfile(strfile_t *str, const char *file)
340340
static void close_strfile(strfile_t *str)
341341
{
342342
trace(3,"close_strfile:\n");
343-
344-
if (str->format==STRFMT_RTCM2||str->format==STRFMT_RTCM3) {
345-
if (str->fp) fclose(str->fp);
346-
}
347-
else if (str->format<=MAXRCVFMT) {
348-
if (str->fp) fclose(str->fp);
349-
}
350-
else if (str->format==STRFMT_RINEX) {
351-
if (str->fp) fclose(str->fp);
352-
}
343+
if (str->fp) fclose(str->fp);
353344
}
354345
/* set format and files in RINEX options comments ----------------------------*/
355346
static void setopt_file(int format, char **paths, int n, const int *mask,

0 commit comments

Comments
 (0)