Update gpssim.c

This commit is contained in:
llorencroma 2021-08-05 17:00:36 +02:00 committed by GitHub
parent 54ae28d46d
commit ef7deee904
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1739,7 +1739,7 @@ int main(int argc, char *argv[])
int staticLocationMode = FALSE; int staticLocationMode = FALSE;
int nmeaGGA = FALSE; int nmeaGGA = FALSE;
int umLLH = TRUE; int umLLH = FALSE;
char navfile[MAX_CHAR]; char navfile[MAX_CHAR];
char outfile[MAX_CHAR]; char outfile[MAX_CHAR];
@ -1801,9 +1801,9 @@ int main(int argc, char *argv[])
case 'u': case 'u':
strcpy(umfile, optarg); strcpy(umfile, optarg);
nmeaGGA = FALSE; nmeaGGA = FALSE;
umLLH = FALSE;
break; break;
case 'x': case 'x':
// Static geodetic coordinates input mode
// Added by romalvarezllorens@gmail.com // Added by romalvarezllorens@gmail.com
strcpy(umfile, optarg); strcpy(umfile, optarg);
nmeaGGA = FALSE; nmeaGGA = FALSE;
@ -1812,6 +1812,7 @@ int main(int argc, char *argv[])
case 'g': case 'g':
strcpy(umfile, optarg); strcpy(umfile, optarg);
nmeaGGA = TRUE; nmeaGGA = TRUE;
umLLH = FALSE
break; break;
case 'c': case 'c':
// Static ECEF coordinates input mode // Static ECEF coordinates input mode