STM32 PPM fix