From 3922ae93b77f532193da93023b3ecbdf1fee5a10 Mon Sep 17 00:00:00 2001 From: Skorpionm <85568270+Skorpionm@users.noreply.github.com> Date: Sat, 19 Feb 2022 00:04:39 +0400 Subject: [PATCH] [FL-2258] SubGhz: removal of frequencies #1001 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: あく --- applications/subghz/subghz.c | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/applications/subghz/subghz.c b/applications/subghz/subghz.c index 705be7d4..9a6809ea 100644 --- a/applications/subghz/subghz.c +++ b/applications/subghz/subghz.c @@ -4,44 +4,29 @@ #include const char* const subghz_frequencies_text[] = { - "300.00", "315.00", - "348.00", - "387.00", "433.08", "433.42", "433.92", "434.42", - "434.78", - "438.90", - "464.00", - "779.00", "868.35", "915.00", - "925.00", - "928.00", }; const uint32_t subghz_frequencies[] = { /* 300 - 348 */ - 300000000, 315000000, - 348000000, + /* 387 - 464 */ - 387000000, + 433075000, /* LPD433 first */ 433420000, 433920000, /* LPD433 mid */ 434420000, - 434775000, /* LPD433 last channels */ - 438900000, - 464000000, /* 779 - 928 */ - 779000000, + 868350000, 915000000, - 925000000, - 928000000, }; const uint32_t subghz_hopper_frequencies[] = { @@ -53,7 +38,7 @@ const uint32_t subghz_hopper_frequencies[] = { const uint32_t subghz_frequencies_count = sizeof(subghz_frequencies) / sizeof(uint32_t); const uint32_t subghz_hopper_frequencies_count = sizeof(subghz_hopper_frequencies) / sizeof(uint32_t); -const uint32_t subghz_frequencies_433_92 = 6; +const uint32_t subghz_frequencies_433_92 = 3; bool subghz_custom_event_callback(void* context, uint32_t event) { furi_assert(context);