Fix external module power init

This commit is contained in:
MX
2023-03-06 14:23:59 +03:00
parent 27000f1763
commit 6511252140
8 changed files with 15 additions and 14 deletions

View File

@@ -403,11 +403,11 @@ int32_t spectrum_analyzer_app(void* p) {
SpectrumAnalyzer* spectrum_analyzer = spectrum_analyzer_alloc();
InputEvent input;
furi_hal_power_suppress_charge_enter();
// Enable power for External CC1101 if it is connected
furi_hal_subghz_enable_ext_power();
furi_hal_power_suppress_charge_enter();
FURI_LOG_D("Spectrum", "Main Loop - Starting worker");
furi_delay_ms(50);