From 818b6b11576d17c2a9e421d96f7e8f4e5ced8c93 Mon Sep 17 00:00:00 2001 From: ha7ilm Date: Fri, 3 Mar 2017 18:45:03 +0100 Subject: [PATCH] timing_recovery_cc --octave now works --- libcsdr.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/libcsdr.c b/libcsdr.c index 9efbceb..82be0de 100644 --- a/libcsdr.c +++ b/libcsdr.c @@ -1652,17 +1652,18 @@ void octave_plot_point_on_cplxsig(complexf* signal, int signal_size, int points_ for(int i=0;idebug_phase=debug_phase; } -#define MTIMINGR_HDEBUG 1 +#define MTIMINGR_HDEBUG 0 void timing_recovery_cc(complexf* input, complexf* output, int input_size, timing_recovery_state_t* state) { @@ -1717,6 +1718,7 @@ void timing_recovery_cc(complexf* input, complexf* output, int input_size, timin debug_i--; if(!debug_i) state->debug_phase = -1; octave_plot_point_on_cplxsig(input+current_bitstart_index, state->decimation_rate*2, + 3, num_samples_halfbit * 1, 'r', num_samples_halfbit * 2, 'r', num_samples_halfbit * 3, 'r',