This is an automated email from Gerrit. Paul Fertser ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/2468
-- gerrit commit 4c57d9cc63865f7cb2728fe47c0078e80a540908 Author: Paul Fertser <[email protected]> Date: Sat Jan 17 21:54:29 2015 +0300 jtag/hla_interface: avoid segfault with adapters that do not have configurable speed Change-Id: I0386cbfc85ba8b28d3819530f9950b31545d6821 Signed-off-by: Paul Fertser <[email protected]> diff --git a/src/jtag/hla/hla_interface.c b/src/jtag/hla/hla_interface.c index c426f87..21cd06f 100644 --- a/src/jtag/hla/hla_interface.c +++ b/src/jtag/hla/hla_interface.c @@ -150,6 +150,9 @@ int hl_interface_init_reset(void) static int hl_interface_khz(int khz, int *jtag_speed) { + if (hl_if.layout->api->speed == NULL) + return ERROR_OK; + *jtag_speed = hl_if.layout->api->speed(hl_if.handle, khz, true); return ERROR_OK; } -- ------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
