This issue had been brought up almost a year back, and there looks like there has not been a fix to the libraries?So basically, after code generation with STM32CubeMX, under MX_COMP1_Init, hcomp1.Init.WindowMode = COMP_WINDOWMODE_COMP1_INPUT_PLUS_COM...