Skip to content

Commit

Permalink
Fix SubGHZ Raw record initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
andreock committed Sep 6, 2024
1 parent 2b48dfe commit 314fafc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/subghz_attacks/subghz_attacks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ void raw_record_attack(SubGHZ *subghz, Gui *gui) {
params->subghz = subghz;
params->gui = gui;
params->rssi_threshold = config.rssi_threshold;
subghz->init_receive();
subghz->set_modulation(config.modulation);
subghz->set_freq_mod(config.freq, config.bw, config.deviation);
subghz->init_receive();
set_subghz_raw_record_freq(config.freq);
xTaskCreate(raw_record_task, "subghz_raw_record_task", 8192, params, 5,
&subghz_task_handle);
Expand Down

0 comments on commit 314fafc

Please sign in to comment.