rs92: if PRN is not found in SEM/RNX

pull/3/head
Zilog80 2017-01-26 13:25:44 +01:00
rodzic 3069379255
commit 575db82789
1 zmienionych plików z 8 dodań i 1 usunięć

Wyświetl plik

@ -1066,7 +1066,8 @@ int gps_satpos_alm(rs_data_t *rs_data, EPHEM_t alm[], double t, SAT_t *sat) {
}
if (j == 33) {
// Sat not found
printf("[PRN %02d not found]\n", sat[i].prn);
// fprintf(stderr, "[SEM: PRN %02d not found]\n", sat[i].prn);
sat[i].prn = 0;
}
// Woche hat 604800 sec
@ -1152,6 +1153,12 @@ int gps_satpos_rnx(rs_data_t *rs_data, EPHEM_t *eph, double t, SAT_t *sat) {
sat[i].clock_corr = cl_corr;
sat[i].ephtime = eph[count0].toe;
}
// test: rnx_data(PRN) expired (> 4 hrs)
else {
// Sat not found
// fprintf(stdout, "[RNX: PRN %02d not found]\n", sat[i].prn);
sat[i].prn = 0;
}
}