From d9d6846751bf94c8fc03cea7b2f62741d7bf22e3 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Tue, 18 Mar 2025 12:40:00 +0000 Subject: [PATCH] Fix compilation error when HAS_SRC is defined. --- FMNetwork.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FMNetwork.cpp b/FMNetwork.cpp index 334b5c4..0927b5d 100644 --- a/FMNetwork.cpp +++ b/FMNetwork.cpp @@ -415,7 +415,7 @@ unsigned int CFMNetwork::readData(float* out, unsigned int nOut) return 0U; #if defined(HAS_SRC) - if ((m_protocol == RAW) && (m_sampleRate != MMDVM_SAMPLERATE)) { + if ((m_protocol == FM_NETWORK_PROTOCOL::RAW) && (m_sampleRate != MMDVM_SAMPLERATE)) { unsigned int nIn = (nOut * m_sampleRate) / MMDVM_SAMPLERATE; if (bytes < nIn) {