mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-14 06:47:42 +00:00
Rework how spectrum and filter bandwidth is represented to UI.
Issue #13.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user