Added support for multiple sample rates in IQ record

Support for any sample rate <= 500k in IQ replay
Fixed bias-t power not activating in TX
Removed RSSI pitch output option (awful code)
Udated binary
This commit is contained in:
furrtek
2018-02-22 07:04:19 +00:00
parent 57c759627d
commit 7fd987a2b4
23 changed files with 193 additions and 84 deletions

View File

@@ -75,6 +75,7 @@ public:
ReplayThreadDone = 21,
AFSKRxConfigure = 22,
StatusRefresh = 23,
SamplerateConfig = 24,
TXProgress = 30,
Retune = 31,
@@ -751,6 +752,18 @@ public:
uint32_t range = 0;
};
class SamplerateConfigMessage : public Message {
public:
constexpr SamplerateConfigMessage(
const uint32_t sample_rate
) : Message { ID::SamplerateConfig },
sample_rate(sample_rate)
{
}
const uint32_t sample_rate = 0;
};
class AudioLevelReportMessage : public Message {
public:
constexpr AudioLevelReportMessage(