fixed breakage for stm32f1 devices