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>2021-08-29 16:05:15 +0300
committerGitHub <noreply@github.com>2021-08-29 16:05:15 +0300
commit663dbbfe9f8e7c868310e3500be136e4f51d3979 (patch)
tree2afc2aecb9d61168fa429bc5d3c3d137a226d8f1 /applications/subghz/subghz.c
parent0a8a944e100c79432773ef3b6e749ab065e46cd1 (diff)
SubGhz: frequency hopping mode (#671)
* SubGhz: fix assert on worker double stop. * SubGhz: add hopping mode (315.00, 433.92, 868.00) * SubGhz: add support for new alarms on the keelog protocol * SubGhz: update te in princeton protocol * SubGhz: move static to tests, rename sniffer to hopper/auto, remove delay from timer thread, optimize locking strategy. Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
Diffstat (limited to 'applications/subghz/subghz.c')
-rw-r--r--applications/subghz/subghz.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/applications/subghz/subghz.c b/applications/subghz/subghz.c
index acc054ab..23bab9a5 100644
--- a/applications/subghz/subghz.c
+++ b/applications/subghz/subghz.c
@@ -121,9 +121,11 @@ SubGhz* subghz_alloc() {
subghz_test_packet_get_view(subghz->subghz_test_packet));
// Static send
- subghz->subghz_static = subghz_static_alloc();
+ subghz->subghz_test_static = subghz_test_static_alloc();
view_dispatcher_add_view(
- subghz->view_dispatcher, SubGhzViewStatic, subghz_static_get_view(subghz->subghz_static));
+ subghz->view_dispatcher,
+ SubGhzViewStatic,
+ subghz_test_static_get_view(subghz->subghz_test_static));
//init Worker & Protocol
subghz->worker = subghz_worker_alloc();
@@ -155,7 +157,7 @@ void subghz_free(SubGhz* subghz) {
// Static
view_dispatcher_remove_view(subghz->view_dispatcher, SubGhzViewStatic);
- subghz_static_free(subghz->subghz_static);
+ subghz_test_static_free(subghz->subghz_test_static);
// Analyze
view_dispatcher_remove_view(subghz->view_dispatcher, SubGhzViewAnalyze);