diff options
Diffstat (limited to 'src/jtag/hla')
-rw-r--r-- | src/jtag/hla/hla_interface.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |