File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
source_modules/spectran_http_source/src Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -100,10 +100,11 @@ void SpectranHTTPClient::worker() {
100100 auto sampleFreqEnd = jsonData.find (' ,' , sampleFreqBegin);
101101 std::string sampleFreqStr = jsonData.substr (sampleFreqBegin + 18 , sampleFreqEnd - sampleFreqBegin - 18 );
102102 sampleFreq = std::stoll (sampleFreqStr);
103+ // flog::debug("{}", jsonData);
103104 }
104105
105106 // Calculate and update center freq
106- int64_t samplerate = sampleFreqReceived ? sampleFreq : (endFreq - startFreq);
107+ int64_t samplerate = /* sampleFreqReceived ? sampleFreq : */ (endFreq - startFreq);
107108 int64_t centerFreq = round (((double )endFreq + (double )startFreq) / 2.0 );
108109 if (centerFreq != _centerFreq) {
109110 flog::debug (" New center freq: {}" , centerFreq);
You can’t perform that action at this time.
0 commit comments