mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-07 14:12:31 -04:00
More improvements to the rssi tone. Added saving of the tuned frequency
to the radio model persistent store.
This commit is contained in:
parent
43e123bafe
commit
a80d91fb1e
4 changed files with 31 additions and 11 deletions
|
@ -55,14 +55,6 @@ class SondeView : public View {
|
|||
public:
|
||||
static constexpr uint32_t sampling_rate = 2457600;
|
||||
static constexpr uint32_t baseband_bandwidth = 1750000;
|
||||
static constexpr int rssi_sample_range = 256;
|
||||
static constexpr float rssi_voltage_min = 0.4;
|
||||
static constexpr float rssi_voltage_max = 2.2;
|
||||
static constexpr float adc_voltage_max = 3.3;
|
||||
|
||||
static constexpr int raw_min = rssi_sample_range * rssi_voltage_min / adc_voltage_max;
|
||||
static constexpr int raw_max = rssi_sample_range * rssi_voltage_max / adc_voltage_max;
|
||||
static constexpr int raw_delta = raw_max - raw_min;
|
||||
|
||||
SondeView(NavigationView& nav);
|
||||
~SondeView();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue