mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-30 10:09:25 -04:00
Rework how spectrum and filter bandwidth is represented to UI.
Issue #13.
This commit is contained in:
parent
e571ca7f1c
commit
98bd9c54e4
2 changed files with 11 additions and 16 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue