mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-12 12:42:30 +04:00
add 462750000 to default subghz freqs
This commit is contained in:
@@ -118,7 +118,8 @@ static int32_t subghz_frequency_analyzer_worker_thread(void* context) {
|
|||||||
for(size_t i = 0; i < subghz_setting_get_frequency_count(instance->setting); i++) {
|
for(size_t i = 0; i < subghz_setting_get_frequency_count(instance->setting); i++) {
|
||||||
uint32_t current_frequency = subghz_setting_get_frequency(instance->setting, i);
|
uint32_t current_frequency = subghz_setting_get_frequency(instance->setting, i);
|
||||||
if(furi_hal_subghz_is_frequency_valid(current_frequency) &&
|
if(furi_hal_subghz_is_frequency_valid(current_frequency) &&
|
||||||
(((current_frequency != 467750000) && (current_frequency != 464000000)) &&
|
(((current_frequency != 462750000) && (current_frequency != 467750000) &&
|
||||||
|
(current_frequency != 464000000)) &&
|
||||||
(current_frequency <= 920000000))) {
|
(current_frequency <= 920000000))) {
|
||||||
furi_hal_spi_acquire(&furi_hal_spi_bus_handle_subghz);
|
furi_hal_spi_acquire(&furi_hal_spi_bus_handle_subghz);
|
||||||
cc1101_switch_to_idle(&furi_hal_spi_bus_handle_subghz);
|
cc1101_switch_to_idle(&furi_hal_spi_bus_handle_subghz);
|
||||||
|
|||||||
@@ -60,6 +60,7 @@ if you need your custom one, make sure it doesn't listed here
|
|||||||
434775000, /* LPD433 last channels */
|
434775000, /* LPD433 last channels */
|
||||||
438900000,
|
438900000,
|
||||||
440175000,
|
440175000,
|
||||||
|
462750000,
|
||||||
464000000,
|
464000000,
|
||||||
467750000,
|
467750000,
|
||||||
|
|
||||||
|
|||||||
@@ -66,6 +66,7 @@ static const uint32_t subghz_frequency_list[] = {
|
|||||||
434775000, /* LPD433 last channels */
|
434775000, /* LPD433 last channels */
|
||||||
438900000,
|
438900000,
|
||||||
440175000,
|
440175000,
|
||||||
|
462750000,
|
||||||
464000000,
|
464000000,
|
||||||
467750000,
|
467750000,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user