stm32: fix an epic fail

Signed-off-by: Andrew 'Necromant' Andrianov <andrew@ncrmnt.org>