1
mirror of https://github.com/DarkFlippers/unleashed-firmware.git synced 2025-12-13 13:09:49 +04:00

Fix external module power disable

This commit is contained in:
MX
2023-03-09 01:23:57 +03:00
parent 3b2d0486a0
commit 16df48bac6

View File

@@ -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();
}
}