target: Fix strange ordering in target_read_u840/1640/2
authorAndreas Fritiofson <andreas.fritiofson@gmail.com>
Fri, 20 Sep 2013 21:06:24 +0000 (23:06 +0200)
committerSpencer Oliver <spen@spen-soft.co.uk>
Wed, 25 Sep 2013 14:44:34 +0000 (14:44 +0000)
commit322f7dcceab2b1a7363c722d80571a5fd8637328
tree2af3c8c11cf698d262434f70fa617df5200e1334
parent18fda50111ae7f70fd4e5d7651e8ebae9f7012f2
target: Fix strange ordering in target_read_u8

It's been like this since the check was added, in 5aa93a5e.

Change-Id: Iaa0586e0cd1ce57ad92735dcc3e51108a133fe96
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/1640
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/target/target.c