]> git.sur5r.net Git - openocd/commit
Simplify and improve amt_jtagaccel_handle_parport_port_command:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 12 Jun 2009 01:40:17 +0000 (01:40 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 12 Jun 2009 01:40:17 +0000 (01:40 +0000)
commitf218f36df5ad401837a5a74d755174b1dc9023fe
treeca776d0a97f1077bc88bd830ec46db4b8bab1ab2
parentae28b96ab9824474a8f5a808480fee3fe7db1f3a
Simplify and improve amt_jtagaccel_handle_parport_port_command:
- Show the port number to the user when asking for it or setting it.
- Print an error if the amt_jtagaccel_port has already been set.
- Use parse_u16 helper to ensure amt_jtagaccel_port string parses correctly.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2210 b42882b7-edfa-0310-969c-e2dbd0fdcd60
src/jtag/amt_jtagaccel.c