stm32f1x: add more asserts
commit287ba1888b3dc95d805d054c5c9f2d1dd231a1b2
authorØyvind Harboe <oyvind.harboe@zylin.com>
Tue, 8 Nov 2011 20:45:47 +0000 (8 21:45 +0100)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Wed, 16 Nov 2011 23:29:53 +0000 (16 23:29 +0000)
tree4870378d9c838d65e633a1698a2351269f527ffd
parent9450da873ca2f6bff53bd64e0bebb99d0e340e6e
stm32f1x: add more asserts

this at least checks the post conditions after convoluted code.

Change-Id: Idfa8cbedce5288d8bae5743687949f141dfb07b2
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Reviewed-on: http://openocd.zylin.com/187
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
src/flash/nor/stm32f1x.c