From 775a92bfc8e39a45a67aa0523f77314942fa0d4b Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Fri, 12 Jan 2018 15:52:45 +0100 Subject: [PATCH] stm32-f4discovery-cc256x: comment debug printf in stm32f4_hal --- .../system/src/stm32f4xx/stm32f4xx_hal_i2s.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/port/stm32-f4discovery-cc256x/eclipse-template/system/src/stm32f4xx/stm32f4xx_hal_i2s.c b/port/stm32-f4discovery-cc256x/eclipse-template/system/src/stm32f4xx/stm32f4xx_hal_i2s.c index 41d6e04e4..0cb3314c0 100644 --- a/port/stm32-f4discovery-cc256x/eclipse-template/system/src/stm32f4xx/stm32f4xx_hal_i2s.c +++ b/port/stm32-f4discovery-cc256x/eclipse-template/system/src/stm32f4xx/stm32f4xx_hal_i2s.c @@ -290,7 +290,7 @@ HAL_StatusTypeDef HAL_I2S_Init(I2S_HandleTypeDef *hi2s) #else i2sclk = HAL_RCCEx_GetPeriphCLKFreq(RCC_PERIPHCLK_I2S); #endif - printf("i2sclk %u, packetlen %u, freq %u\n", i2sclk, packetlength, hi2s->Init.AudioFreq); + // printf("i2sclk %u, packetlen %u, freq %u\n", i2sclk, packetlength, hi2s->Init.AudioFreq); /* Compute the Real divider depending on the MCLK output state, with a floating point */ if(hi2s->Init.MCLKOutput == I2S_MCLKOUTPUT_ENABLE) { @@ -311,7 +311,7 @@ HAL_StatusTypeDef HAL_I2S_Init(I2S_HandleTypeDef *hi2s) } /* Remove the flatting point */ - printf("tmp %u\n", tmp); + // printf("tmp %u\n", tmp); tmp = tmp / 10U; /* Check the parity of the divider */ @@ -319,7 +319,7 @@ HAL_StatusTypeDef HAL_I2S_Init(I2S_HandleTypeDef *hi2s) /* Compute the i2sdiv prescaler */ i2sdiv = (uint16_t)((tmp - i2sodd) / 2U); - printf("i2sdiv %u, i2sodd %u\n", i2sdiv, i2sodd); + // printf("i2sdiv %u, i2sodd %u\n", i2sdiv, i2sodd); /* Get the Mask for the Odd bit (SPI_I2SPR[8]) register */ i2sodd = (uint32_t) (i2sodd << 8U); }