]> git.sur5r.net Git - openocd/commit
parport: fix parport_toggling_time regression
authorSpencer Oliver <spen@spen-soft.co.uk>
Tue, 26 Mar 2013 15:23:16 +0000 (15:23 +0000)
committerSpencer Oliver <spen@spen-soft.co.uk>
Wed, 17 Apr 2013 09:51:59 +0000 (09:51 +0000)
commit0a33b7b2aa25b8eba53c9097ac2c92c5be7f0227
treee0fa13fdcc0109273af46705a4a7d92242c3065e
parent46bcaec696ae0974b47aeaea876737f13d0c55e5
parport: fix parport_toggling_time regression

If parport_toggling_time is called before the adapter speed has been
configured then the call fails. Probably not the best fix, but does at least
enable parport_toggling_time to be used again.

This regression was added in commit 740b9e25b410c164e661d0334a9ea4168406726b

Change-Id: I90300916d6bda5ef053c557e5ac136c4f002bdd1
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/1309
Tested-by: jenkins
src/jtag/drivers/parport.c