Skip to content

Commit

Permalink
Fix segfault on zoom change
Browse files Browse the repository at this point in the history
  • Loading branch information
gdyuldin committed Sep 30, 2024
1 parent bf9f385 commit 6a40ba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ void dsp_samples(float complex *buf_samples, uint16_t size, bool tx) {
wf_sg = waterfall_sg_rx;
}
process_samples(buf_samples, size, sp_decim, sp_sg, wf_sg);
pthread_mutex_unlock(&spectrum_mux);
update_spectrum(sp_sg, now, tx);
pthread_mutex_unlock(&spectrum_mux);
if (update_waterfall(wf_sg, now, tx)) {
update_s_meter();
// TODO: skip on disabled auto min/max
Expand Down

0 comments on commit 6a40ba3

Please sign in to comment.