mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-24 05:34:45 -07:00
Fix external module power disable
This commit is contained in:
@@ -91,7 +91,7 @@ bool furi_hal_subghz_enable_ext_power(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void furi_hal_subghz_disable_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();
|
furi_hal_power_disable_otg();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user