From bd14b2b8855c7f1963ea3a4d3499db7de05b5f13 Mon Sep 17 00:00:00 2001 From: boblark Date: Fri, 13 May 2022 23:33:50 -0700 Subject: [PATCH] Corrected warnings (no problems) --- radioModulatedGenerator_F32.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/radioModulatedGenerator_F32.cpp b/radioModulatedGenerator_F32.cpp index 73c5864..37bcf8e 100644 --- a/radioModulatedGenerator_F32.cpp +++ b/radioModulatedGenerator_F32.cpp @@ -34,12 +34,14 @@ void radioModulatedGenerator_F32::update(void) { float32_t a, b, deltaPhase, phaseC, amSig; // Input 0 is for amplitude modulation. + inAmpl = NULL; if(doAM) { inAmpl = AudioStream_F32::receiveReadOnly_f32(0); if (!inAmpl) return; } // Input 1 is for phase or frequency modulation. + inPhaseFreq = NULL; if(doPM || doFM) { inPhaseFreq = AudioStream_F32::receiveReadOnly_f32(1); if (!inPhaseFreq) { @@ -55,6 +57,7 @@ void radioModulatedGenerator_F32::update(void) { return; } + outBlockQ = NULL; if(bothIQ) { outBlockQ = AudioStream_F32::allocate_f32(); if (!outBlockQ) {