From 280051c0ec6b38ae7eca84ef879e632fd0777421 Mon Sep 17 00:00:00 2001 From: Ed Gonzalez Date: Mon, 3 Aug 2015 08:50:10 -0500 Subject: [PATCH] Fix magic number that should be DSTAR_RADIO_BIT_LENGTH --- DSP_API/SmartSDR_Interface/sched_waveform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DSP_API/SmartSDR_Interface/sched_waveform.c b/DSP_API/SmartSDR_Interface/sched_waveform.c index 873421c..27e905f 100644 --- a/DSP_API/SmartSDR_Interface/sched_waveform.c +++ b/DSP_API/SmartSDR_Interface/sched_waveform.c @@ -534,7 +534,7 @@ static void* _sched_waveform_thread(void* param) decode_out = thumbDV_encode(_dv_serial_fd, speech_in, mod_out, DV_PACKET_SAMPLES); } - float buf[5]; + float buf[DSTAR_RADIO_BIT_LENGTH]; uint32 j = 0; if ( initial_tx ) {