From fa2bbcc940d60341bb7dc5f4b7ed406e606c4000 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Sat, 29 Dec 2018 16:07:07 +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 fa04761..59a7349 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 - uint16_t sampledBits; // Bits sampled by the demodulator (at ADC speed) + uint8_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