Rework how spectrum and filter bandwidth is represented to UI.

Issue #13.
This commit is contained in:
Jared Boone 2015-07-17 10:29:03 -07:00
parent e571ca7f1c
commit 98bd9c54e4
2 changed files with 11 additions and 16 deletions

View file

@ -380,7 +380,7 @@ protected:
if( !channel_spectrum_request_update ) {
channel_spectrum_request_update = true;
std::copy(&data.p[0], &data.p[data.count], channel_spectrum.begin());
channel_spectrum_bandwidth = data.sampling_rate * 2;
channel_spectrum_bandwidth = data.sampling_rate;
events_flag(EVT_MASK_SPECTRUM);
}
}