[FL-2258] SubGhz: removal of frequencies #1001

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
Skorpionm 2022-02-19 00:04:39 +04:00 committed by GitHub
parent 274c12fc56
commit 3922ae93b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,44 +4,29 @@
#include <lib/toolbox/path.h> #include <lib/toolbox/path.h>
const char* const subghz_frequencies_text[] = { const char* const subghz_frequencies_text[] = {
"300.00",
"315.00", "315.00",
"348.00",
"387.00",
"433.08", "433.08",
"433.42", "433.42",
"433.92", "433.92",
"434.42", "434.42",
"434.78",
"438.90",
"464.00",
"779.00",
"868.35", "868.35",
"915.00", "915.00",
"925.00",
"928.00",
}; };
const uint32_t subghz_frequencies[] = { const uint32_t subghz_frequencies[] = {
/* 300 - 348 */ /* 300 - 348 */
300000000,
315000000, 315000000,
348000000,
/* 387 - 464 */ /* 387 - 464 */
387000000,
433075000, /* LPD433 first */ 433075000, /* LPD433 first */
433420000, 433420000,
433920000, /* LPD433 mid */ 433920000, /* LPD433 mid */
434420000, 434420000,
434775000, /* LPD433 last channels */
438900000,
464000000,
/* 779 - 928 */ /* 779 - 928 */
779000000,
868350000, 868350000,
915000000, 915000000,
925000000,
928000000,
}; };
const uint32_t subghz_hopper_frequencies[] = { 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_frequencies_count = sizeof(subghz_frequencies) / sizeof(uint32_t);
const uint32_t subghz_hopper_frequencies_count = const uint32_t subghz_hopper_frequencies_count =
sizeof(subghz_hopper_frequencies) / sizeof(uint32_t); 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) { bool subghz_custom_event_callback(void* context, uint32_t event) {
furi_assert(context); furi_assert(context);