mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-12-24 06:49:24 -05:00
Minor Improvement (Extending_min_CLK_out_from_10khz_to_4khz) (#1675)
This commit is contained in:
parent
7bf3e02f6c
commit
a85357a8af
@ -194,8 +194,8 @@ SetRadioView::SetRadioView(
|
|||||||
|
|
||||||
field_clkout_freq.set_value(pmem::clkout_freq());
|
field_clkout_freq.set_value(pmem::clkout_freq());
|
||||||
field_clkout_freq.on_change = [this](SymField&) {
|
field_clkout_freq.on_change = [this](SymField&) {
|
||||||
if (field_clkout_freq.to_integer() < 10)
|
if (field_clkout_freq.to_integer() < 4) // Min. CLK out of Si5351A/B/C-B is 2.5khz , but in our application -intermediate freq 800Mhz-,Min working CLK=4khz.
|
||||||
field_clkout_freq.set_value(10);
|
field_clkout_freq.set_value(4);
|
||||||
if (field_clkout_freq.to_integer() > 60000)
|
if (field_clkout_freq.to_integer() > 60000)
|
||||||
field_clkout_freq.set_value(60000);
|
field_clkout_freq.set_value(60000);
|
||||||
};
|
};
|
||||||
|
@ -77,7 +77,7 @@ constexpr modem_repeat_range_t modem_repeat_range{1, 99};
|
|||||||
constexpr int32_t modem_repeat_reset_value{5};
|
constexpr int32_t modem_repeat_reset_value{5};
|
||||||
|
|
||||||
using clkout_freq_range_t = range_t<uint32_t>;
|
using clkout_freq_range_t = range_t<uint32_t>;
|
||||||
constexpr clkout_freq_range_t clkout_freq_range{10, 60000};
|
constexpr clkout_freq_range_t clkout_freq_range{4, 60000}; // Min. CLK out of Si5351A/B/C-B is 2.5khz , but in our application -intermediate freq 800Mhz-,Min working CLK=4khz.
|
||||||
constexpr uint16_t clkout_freq_reset_value{10000};
|
constexpr uint16_t clkout_freq_reset_value{10000};
|
||||||
|
|
||||||
enum data_structure_version_enum : uint32_t {
|
enum data_structure_version_enum : uint32_t {
|
||||||
|
Loading…
Reference in New Issue
Block a user