Move back off timer to target struct79/1179/4
authorMathias K <kesmtp@freenet.de>
Mon, 25 Feb 2013 17:15:15 +0000 (18:15 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Tue, 5 Mar 2013 15:08:52 +0000 (15:08 +0000)
commit5d80b365526537d2e8705e8bf4de1485b4bb6be6
tree84dbe7190c7123e2edf63f75a0c21012c74fa81e
parentc4e0109644b6c9196c4a042804120da5fb46a8d6
Move back off timer to target struct

Move the global target back off timer to the target struct. This will
fix the wrong error handling with multi target devices like smp systems.

Change-Id: Ia327182ed5d13ca87323700017a8c40ecc6b25a3
Signed-off-by: Mathias K <kesmtp@freenet.de>
Reviewed-on: http://openocd.zylin.com/1179
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
src/target/target.c
src/target/target.h