From 30bccb03de94db3c52409636761aa4ceb3f68b1a Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Sat, 29 Dec 2018 16:07:27 +0100 Subject: [PATCH] Work on sample rate independency --- hardware/AFSK.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardware/AFSK.h b/hardware/AFSK.h index 59a7349..2b1bd7b 100755 --- a/hardware/AFSK.h +++ b/hardware/AFSK.h @@ -120,7 +120,7 @@ typedef struct Afsk int16_t iirX[2]; // IIR Filter X cells int16_t iirY[2]; // IIR Filter Y cells - uint8_t sampledBits; // Bits sampled by the demodulator (at ADC speed) + uint32_t sampledBits; // Bits sampled by the demodulator (at ADC speed) int8_t currentPhase; // Current phase of the demodulator uint8_t actualBits; // Actual found bits at correct bitrate