From ed383a5667220ed3b1b0600f19a1893b16bd5c58 Mon Sep 17 00:00:00 2001 From: Kris Bahnsen Date: Wed, 5 Jun 2024 18:57:13 -0700 Subject: [PATCH] do_flick: reduce bands to more sensible ranges per suggestion from Willy-JL, now uses the ranges specified by cc1101 datasheet --- application.fam | 2 +- scenes/flick_scene_do_flick.c | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/application.fam b/application.fam index ab21064..8c0b39d 100644 --- a/application.fam +++ b/application.fam @@ -6,7 +6,7 @@ App( stack_size=2 * 1024, fap_category="Sub-Ghz", # Optional values - fap_version="1.0", + fap_version="1.1", fap_icon="flick.png", # 10x10 1-bit PNG fap_description="Frequency Liberation and Interchangeable Country Kit", fap_author="KBEmbedded", diff --git a/scenes/flick_scene_do_flick.c b/scenes/flick_scene_do_flick.c index 27c192b..8536b8c 100644 --- a/scenes/flick_scene_do_flick.c +++ b/scenes/flick_scene_do_flick.c @@ -12,9 +12,11 @@ /* TODO: Add some customization options? Power, enabling specific bands rather than all, region name? */ FuriHalRegion region = { .country_code = "LOL", - .bands_count = 1, + .bands_count = 3, .bands = { - { 0, 1000000000, 53, 50 }, + { 300000000, 348000000, 53, 50 }, + { 387000000, 464000000, 53, 50 }, + { 779000000, 928000000, 53, 50 }, {}, }, };