mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-23 13:03:13 +00:00
When we select ON/OFF call power enable and disable
This commit is contained in:
parent
1249ce9b94
commit
71daa3e0f8
1 changed files with 5 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue