Minor fixes to stm32f1 flash routines.
Style clean up.