stm32-f4discovery-cc256x: fix compile warning

This commit is contained in:
Matthias Ringwald 2018-07-20 16:34:54 +02:00
parent c4b3e553ae
commit 9116bae8e8

View File

@ -192,8 +192,10 @@ __IO uint16_t AudioInVolume = DEFAULT_AUDIO_IN_VOLUME;
* @{ * @{
*/ */
static uint8_t I2S3_Init(uint32_t AudioFreq); static uint8_t I2S3_Init(uint32_t AudioFreq);
static uint8_t I2S2_Init(uint32_t AudioFreq);
static void PDMDecoder_Init(uint32_t AudioFreq, uint32_t ChnlNbr); // static uint8_t I2S2_Init(uint32_t AudioFreq);
// static void PDMDecoder_Init(uint32_t AudioFreq, uint32_t ChnlNbr);
/** /**
* @} * @}
*/ */
@ -1061,7 +1063,6 @@ static void PDMDecoder_Init(uint32_t AudioFreq, uint32_t ChnlNbr)
PDM_Filter_Init((PDMFilter_InitStruct *)&Filter[i]); PDM_Filter_Init((PDMFilter_InitStruct *)&Filter[i]);
} }
} }
#endif
/** /**
* @brief Initializes the Audio Codec audio interface (I2S) * @brief Initializes the Audio Codec audio interface (I2S)
@ -1097,6 +1098,7 @@ static uint8_t I2S2_Init(uint32_t AudioFreq)
return AUDIO_OK; return AUDIO_OK;
} }
} }
#endif
/** /**
* @} * @}