stm32f1: make function definition match declaration