mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-12-14 04:04:34 +00:00
pesky and non consistent indentation is boring
This commit is contained in:
parent
1e2bc703b8
commit
b41be47c9d
@ -337,10 +337,10 @@ SetConverterSettingsView::SetConverterSettingsView(NavigationView& nav) {
|
|||||||
check_show_converter.set_value(!portapack::persistent_memory::config_hide_converter());
|
check_show_converter.set_value(!portapack::persistent_memory::config_hide_converter());
|
||||||
check_show_converter.on_select = [this](Checkbox&, bool v) {
|
check_show_converter.on_select = [this](Checkbox&, bool v) {
|
||||||
portapack::persistent_memory::set_config_hide_converter(!v);
|
portapack::persistent_memory::set_config_hide_converter(!v);
|
||||||
if( !v )
|
if( !v )
|
||||||
{
|
{
|
||||||
check_converter.set_value(false);
|
check_converter.set_value(false);
|
||||||
}
|
}
|
||||||
// Retune to take converter change in account
|
// Retune to take converter change in account
|
||||||
receiver_model.set_tuning_frequency( portapack::persistent_memory::tuned_frequency() );
|
receiver_model.set_tuning_frequency( portapack::persistent_memory::tuned_frequency() );
|
||||||
//Refresh status bar with/out converter
|
//Refresh status bar with/out converter
|
||||||
@ -350,11 +350,11 @@ SetConverterSettingsView::SetConverterSettingsView(NavigationView& nav) {
|
|||||||
|
|
||||||
check_converter.set_value(portapack::persistent_memory::config_converter());
|
check_converter.set_value(portapack::persistent_memory::config_converter());
|
||||||
check_converter.on_select = [this](Checkbox&, bool v) {
|
check_converter.on_select = [this](Checkbox&, bool v) {
|
||||||
if( v )
|
if( v )
|
||||||
{
|
{
|
||||||
check_show_converter.set_value(true);
|
check_show_converter.set_value(true);
|
||||||
portapack::persistent_memory::set_config_hide_converter(false);
|
portapack::persistent_memory::set_config_hide_converter(false);
|
||||||
}
|
}
|
||||||
portapack::persistent_memory::set_config_converter(v);
|
portapack::persistent_memory::set_config_converter(v);
|
||||||
// Retune to take converter change in account
|
// Retune to take converter change in account
|
||||||
receiver_model.set_tuning_frequency( portapack::persistent_memory::tuned_frequency() );
|
receiver_model.set_tuning_frequency( portapack::persistent_memory::tuned_frequency() );
|
||||||
|
Loading…
Reference in New Issue
Block a user