Allow to disable control of GPIO pin on rx/tx states in subghz [ci skip]

in radio settings with debug ON, settings is saved on microsd, please don't use unless you know what you are doing
This commit is contained in:
MX
2024-10-05 08:43:42 +03:00
parent 54ad331c4c
commit 1ceb1eb256
11 changed files with 102 additions and 31 deletions

View File

@@ -27,6 +27,9 @@ void subghz_dangerous_freq() {
SubGhzLastSettings* last_settings = subghz_last_settings_alloc();
subghz_last_settings_load(last_settings, 0);
// Set LED and Amp GPIO control state
furi_hal_subghz_set_ext_leds_and_amp(last_settings->leds_and_amp);
subghz_last_settings_free(last_settings);
furi_record_close(RECORD_STORAGE);