Corrected class name to start capital 'R'

pull/16/merge
boblark 2 years ago
parent b4159d5cca
commit 6b270ad37f
  1. 4
      examples/FT8Receive/FT8Receive.ino
  2. 6
      radioFT8Demodulator_F32.cpp
  3. 6
      radioFT8Demodulator_F32.h

@ -71,10 +71,12 @@ const float32_t sample_rate_Hz = 48000.0f;
const int audio_block_samples = 128;
AudioSettings_F32 audio_settings(sample_rate_Hz, audio_block_samples);
// NOTE Changed class name to start with capital "R" RSL 7 Nov 2022
AudioInputI2S_F32 audioInI2S1(audio_settings); //xy=100,150
AudioEffectGain_F32 gain1; //xy=250,150
AudioAnalyzePeak_F32 peak1; //xy=400,250
radioFT8Demodulator_F32 demod1; //xy=400,150
RadioFT8Demodulator_F32 demod1; //xy=400,150
AudioConnection_F32 patchCord1(audioInI2S1, 0, gain1, 0);
AudioConnection_F32 patchCord2(gain1, demod1);
AudioConnection_F32 patchCord3(gain1, peak1);

@ -35,6 +35,8 @@
*
*/
// NOTE Changed class name to start with capital "R" RSL 7 Nov 2022
// ******************* TEENSY 4.x ONLY *******************
#if defined(__IMXRT1062__)
@ -44,7 +46,7 @@
// decimate15() is common code for several cases of decimation.
// Input is 128 word of data, in outFIR1,
// ready to be decimated by 15 to FT8 6.4 kHz sample rate.
void radioFT8Demodulator_F32::decimate15(void) {
void RadioFT8Demodulator_F32::decimate15(void) {
// Stage 1, decimate by 5.
// current128Used1 = true means that outFIR1[] is empty
// current128Used1 = false means that outFIR1[] has some content
@ -165,7 +167,7 @@ void radioFT8Demodulator_F32::decimate15(void) {
}
// Note: Suppports block size of 128 only. Very "built in."
void radioFT8Demodulator_F32::update(void) {
void RadioFT8Demodulator_F32::update(void) {
audio_block_f32_t *block_in;
int ii;

@ -99,11 +99,13 @@
#include "AudioStream_F32.h"
#include "arm_math.h"
class radioFT8Demodulator_F32 : public AudioStream_F32 {
// NOTE Changed class name to start with capital "R" RSL 7 Nov 2022
class RadioFT8Demodulator_F32 : public AudioStream_F32 {
//GUI: inputs:2, outputs:4 //this line used for automatic generation of GUI node
//GUI: shortName:FFT2048IQ
public:
radioFT8Demodulator_F32() : AudioStream_F32(1, inputQueueArray_f32) {
RadioFT8Demodulator_F32() : AudioStream_F32(1, inputQueueArray_f32) {
}

Loading…
Cancel
Save