Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/flipperzero-firmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSkorpionm <85568270+Skorpionm@users.noreply.github.com>2022-02-18 23:04:39 +0300
committerGitHub <noreply@github.com>2022-02-18 23:04:39 +0300
commit3922ae93b77f532193da93023b3ecbdf1fee5a10 (patch)
tree0e75e6b363bc9e38823997a964228e23a502d6f9 /applications/subghz/subghz.c
parent274c12fc56f46774a0445a3b61e8cc930163d4f6 (diff)
[FL-2258] SubGhz: removal of frequencies #1001
Co-authored-by: あく <alleteam@gmail.com>
Diffstat (limited to 'applications/subghz/subghz.c')
-rw-r--r--applications/subghz/subghz.c23
1 files 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 <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[] = {
@@ -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);