[bsp] Fix STM32F10x compiling warning.