Skip to content

Commit

Permalink
[FL-2258] SubGhz: removal of frequencies #1001
Browse files Browse the repository at this point in the history
Co-authored-by: あく <alleteam@gmail.com>
  • Loading branch information
Skorpionm and skotopes authored Feb 18, 2022
1 parent 274c12f commit 3922ae9
Showing 1 changed file with 4 additions and 19 deletions.
23 changes: 4 additions & 19 deletions applications/subghz/subghz.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,44 +4,29 @@
#include <lib/toolbox/path.h>

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[] = {
Expand All @@ -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);
Expand Down

0 comments on commit 3922ae9

Please sign in to comment.