|
@@ -180,6 +180,10 @@ int32_t subbrute_app(void* p) {
|
|
|
|
|
|
|
|
// Enable power for External CC1101 if it is connected
|
|
// Enable power for External CC1101 if it is connected
|
|
|
furi_hal_subghz_enable_ext_power();
|
|
furi_hal_subghz_enable_ext_power();
|
|
|
|
|
+ // Auto switch to internal radio if external radio is not available
|
|
|
|
|
+ if(!furi_hal_subghz_check_radio()) {
|
|
|
|
|
+ furi_hal_subghz_set_radio_type(SubGhzRadioInternal);
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
furi_hal_power_suppress_charge_enter();
|
|
furi_hal_power_suppress_charge_enter();
|
|
|
|
|
|