When we select ON/OFF call power enable and disable

This commit is contained in:
MX 2023-03-09 04:33:19 +03:00
parent 1249ce9b94
commit 71daa3e0f8
No known key found for this signature in database
GPG key ID: 7CCC66B7DBDD1C83

View file

@ -90,6 +90,11 @@ static void subghz_scene_receiver_config_set_ext_mod_power(VariableItem* item) {
variable_item_set_current_value_text(item, ext_mod_power_text[index]);
furi_hal_subghz_set_external_power_disable(index == 1);
if(index == 1) {
furi_hal_subghz_disable_ext_power();
} else {
furi_hal_subghz_enable_ext_power();
}
}
void subghz_scene_ext_module_settings_on_enter(void* context) {