Changeset 9190 in ntrip for branches/BNC_2.12
- Timestamp:
- Oct 29, 2020, 12:10:40 PM (4 years ago)
- Location:
- branches/BNC_2.12/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/src/bnccaster.cpp
r9097 r9190 359 359 } 360 360 } 361 _epochs.remove(epoTime); 361 //_epochs.remove(epoTime); 362 itEpo.remove(); 362 363 } 363 364 } -
branches/BNC_2.12/src/upload/bncrtnetuploadcaster.cpp
r9180 r9190 746 746 || co.NumberOfSat[CLOCKORBIT_SATSBAS] > 0 747 747 || co.NumberOfSat[CLOCKORBIT_SATBDS] > 0) { 748 char obuffer[CLOCKORBIT_BUFFERSIZE] ;748 char obuffer[CLOCKORBIT_BUFFERSIZE] = {0}; 749 749 int len = _ssrCorr->MakeClockOrbit(&co, _ssrCorr->COTYPE_AUTO, 0, obuffer, sizeof(obuffer)); 750 750 if (len > 0) { … … 758 758 else { 759 759 if (co.NumberOfSat[CLOCKORBIT_SATGPS] > 0) { 760 char obuffer[CLOCKORBIT_BUFFERSIZE] ;760 char obuffer[CLOCKORBIT_BUFFERSIZE] = {0}; 761 761 if (fmod(epoTime.gpssec(), _samplRtcmEphCorr) == 0.0) { 762 762 co.UpdateInterval = ephUpdInd; … … 780 780 } 781 781 if (co.NumberOfSat[CLOCKORBIT_SATGLONASS] > 0) { 782 char obuffer[CLOCKORBIT_BUFFERSIZE] ;782 char obuffer[CLOCKORBIT_BUFFERSIZE] = {0}; 783 783 if (fmod(epoTime.gpssec(), _samplRtcmEphCorr) == 0.0) { 784 784 co.UpdateInterval = ephUpdInd; … … 801 801 } 802 802 if (co.NumberOfSat[CLOCKORBIT_SATGALILEO] > 0) { 803 char obuffer[CLOCKORBIT_BUFFERSIZE] ;803 char obuffer[CLOCKORBIT_BUFFERSIZE] = {0}; 804 804 if (fmod(epoTime.gpssec(), _samplRtcmEphCorr) == 0.0) { 805 805 co.UpdateInterval = ephUpdInd; … … 821 821 } 822 822 if (co.NumberOfSat[CLOCKORBIT_SATQZSS] > 0) { 823 char obuffer[CLOCKORBIT_BUFFERSIZE] ;823 char obuffer[CLOCKORBIT_BUFFERSIZE] = {0}; 824 824 if (fmod(epoTime.gpssec(), _samplRtcmEphCorr) == 0.0) { 825 825 co.UpdateInterval = ephUpdInd; … … 840 840 } 841 841 if (co.NumberOfSat[CLOCKORBIT_SATSBAS] > 0) { 842 char obuffer[CLOCKORBIT_BUFFERSIZE] ;842 char obuffer[CLOCKORBIT_BUFFERSIZE] = {0}; 843 843 if (fmod(epoTime.gpssec(), _samplRtcmEphCorr) == 0.0) { 844 844 co.UpdateInterval = ephUpdInd; … … 858 858 } 859 859 if (co.NumberOfSat[CLOCKORBIT_SATBDS] > 0) { 860 char obuffer[CLOCKORBIT_BUFFERSIZE] ;860 char obuffer[CLOCKORBIT_BUFFERSIZE] = {0}; 861 861 if (fmod(epoTime.gpssec(), _samplRtcmEphCorr) == 0.0) { 862 862 co.UpdateInterval = ephUpdInd; … … 886 886 || bias.NumberOfSat[CLOCKORBIT_SATSBAS] > 0 887 887 || bias.NumberOfSat[CLOCKORBIT_SATBDS] > 0) { 888 char obuffer[CLOCKORBIT_BUFFERSIZE] ;888 char obuffer[CLOCKORBIT_BUFFERSIZE] = {0}; 889 889 if (fmod(epoTime.gpssec(), _samplRtcmEphCorr) == 0.0) { 890 890 int len = _ssrCorr->MakeCodeBias(&bias, _ssrCorr->CBTYPE_AUTO, 0, obuffer, sizeof(obuffer)); … … 905 905 || phasebias.NumberOfSat[CLOCKORBIT_SATBDS] > 0) 906 906 && (_phaseBiasInformationDecoded)) { 907 char obuffer[CLOCKORBIT_BUFFERSIZE] ;907 char obuffer[CLOCKORBIT_BUFFERSIZE] = {0}; 908 908 if (fmod(epoTime.gpssec(), _samplRtcmEphCorr) == 0.0) { 909 909 int len = _ssrCorr->MakePhaseBias(&phasebias, _ssrCorr->PBTYPE_AUTO, 0, obuffer, sizeof(obuffer)); … … 918 918 QByteArray hlpBufferVtec; 919 919 if (vtec.NumLayers > 0) { 920 char obuffer[CLOCKORBIT_BUFFERSIZE] ;920 char obuffer[CLOCKORBIT_BUFFERSIZE] = {0}; 921 921 int len = _ssrCorr->MakeVTEC(&vtec, 0, obuffer, sizeof(obuffer)); 922 922 if (len > 0) {
Note:
See TracChangeset
for help on using the changeset viewer.