Question
stm32f3xx_ll_opamp.h (STM32F3xx_DFP v2.1.0) bug
File: Arm/Packs/Keil/STM32F3xx_DFP/2.1.0/Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_ll_opamp.h
In this file, function LL_OPAMP_GetCalibrationSelection(), at lines 710-711:
return (CalibrationSelection |
((OPAMP_CSR_TRIMOFFSETN) << (POSITION_VAL(OPAMP_CSR_TRIMOFFSETP) * (CalibrationSelection && OPAMP_CSR_CALSEL))));The logical "&&" should be a bitwise "&".
ARM compiler v6 generates a warning for this, whereas v5 does not.
