stm32f4xx_hal_rcc_ex.c invalid non shifted comparison
STM32F411.
Line 2693:
srcclk = __HAL_RCC_GET_I2S_SOURCE();
That macro calls "READ_BIT" on the I2SSRC register bit.
It does NOT shift it right 23U.
The function then compares this to 0 or 1.
FAIL.
Result. I2S cannot be configured to use an external clock source in HAL.
While you are in there there is a bug with the library always initing that register to PLL clocks, regardless of config.
Did someone do a merge fart?
