Exclude 390Mhz from freq analyzer for external module

This commit is contained in:
MX 2023-03-06 12:30:20 +03:00
parent 6d0c3eb3b6
commit ada343b7df
No known key found for this signature in database
GPG key ID: 7CCC66B7DBDD1C83

View file

@ -121,6 +121,7 @@ static int32_t subghz_frequency_analyzer_worker_thread(void* context) {
if(furi_hal_subghz_is_frequency_valid(current_frequency) &&
(current_frequency != 467750000) && (current_frequency != 464000000) &&
!((furi_hal_subghz.radio_type == SubGhzRadioExternal) &&
(current_frequency != 390000000) &&
(current_frequency >= 311900000 && current_frequency <= 312200000))) {
furi_hal_spi_acquire(furi_hal_subghz.spi_bus_handle);
cc1101_switch_to_idle(furi_hal_subghz.spi_bus_handle);