From 37912df085d58ca007a7daa607cf89673fd04c33 Mon Sep 17 00:00:00 2001 From: formtapez Date: Sat, 21 Jan 2023 11:46:43 +0100 Subject: [PATCH] tabs vs spaces --- firmware/application/app_settings.cpp | 2 +- .../application/apps/analog_audio_app.cpp | 20 +++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/firmware/application/app_settings.cpp b/firmware/application/app_settings.cpp index 638e8828..9a04d147 100644 --- a/firmware/application/app_settings.cpp +++ b/firmware/application/app_settings.cpp @@ -68,7 +68,7 @@ int app_settings::load(std::string application, AppSettings* settings) { int app_settings::save(std::string application, AppSettings* settings) { - if (portapack::persistent_memory::save_app_settings()) { + if (portapack::persistent_memory::save_app_settings()) { file_path = folder+"/"+application+".ini"; make_new_directory(folder); diff --git a/firmware/application/apps/analog_audio_app.cpp b/firmware/application/apps/analog_audio_app.cpp index 52ba96a3..f54875ee 100644 --- a/firmware/application/apps/analog_audio_app.cpp +++ b/firmware/application/apps/analog_audio_app.cpp @@ -194,30 +194,30 @@ AnalogAudioView::AnalogAudioView( audio::output::start(); update_modulation(static_cast(modulation)); - on_modulation_changed(static_cast(modulation)); + on_modulation_changed(static_cast(modulation)); } size_t AnalogAudioView::get_spec_bw_index() { - return spec_bw_index; + return spec_bw_index; } void AnalogAudioView::set_spec_bw(size_t index, uint32_t bw) { - spec_bw_index = index; - spec_bw = bw; + spec_bw_index = index; + spec_bw = bw; - baseband::set_spectrum(bw, spec_trigger); - receiver_model.set_sampling_rate(bw); - receiver_model.set_baseband_bandwidth(bw/2); + baseband::set_spectrum(bw, spec_trigger); + receiver_model.set_sampling_rate(bw); + receiver_model.set_baseband_bandwidth(bw/2); } uint16_t AnalogAudioView::get_spec_trigger() { - return spec_trigger; + return spec_trigger; } void AnalogAudioView::set_spec_trigger(uint16_t trigger) { - spec_trigger = trigger; + spec_trigger = trigger; - baseband::set_spectrum(spec_bw, spec_trigger); + baseband::set_spectrum(spec_bw, spec_trigger); } AnalogAudioView::~AnalogAudioView() {