mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-18 19:01:47 +03:00
Fix external module power disable
This commit is contained in:
parent
3b2d0486a0
commit
16df48bac6
@ -91,7 +91,7 @@ bool furi_hal_subghz_enable_ext_power(void) {
|
||||
}
|
||||
|
||||
void furi_hal_subghz_disable_ext_power(void) {
|
||||
if(furi_hal_subghz.radio_type != SubGhzRadioInternal) {
|
||||
if(furi_hal_power_is_otg_enabled()) {
|
||||
furi_hal_power_disable_otg();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user