STM32CubeF1 Firmware Package v1.6.1
The following is the code generated by STM32CubeMX.
GPIO_InitStruct.Mode = LL_GPIO_MODE_OUTPUT;
GPIO_InitStruct.Speed = LL_GPIO_SPEED_FREQ_LOW;
GPIO_InitStruct.OutputType = LL_GPIO_OUTPUT_PUSHPULL;
ErrorStatus LL_GPIO_Init(GPIO_TypeDef *GPIOx, LL_GPIO_InitTypeDef *GPIO_InitStruct)
The member Pull is not initialized that leads to the program may be blocked at assert_param().
Hope to improve.Thanks !