diff --git a/jtag/src/tap/cable/usbblaster.c b/jtag/src/tap/cable/usbblaster.c index dfa9ffec..dd820317 100644 --- a/jtag/src/tap/cable/usbblaster.c +++ b/jtag/src/tap/cable/usbblaster.c @@ -303,6 +303,7 @@ usbblaster_flush( cable_t *cable, cable_flush_amount_t how_much ) void usbblaster_set_frequency( cable_t *cable, uint32_t new_frequency ) { + cable->frequency = new_frequency; } void diff --git a/jtag/src/tap/cable/xpc.c b/jtag/src/tap/cable/xpc.c index 24dacb82..f173d06c 100644 --- a/jtag/src/tap/cable/xpc.c +++ b/jtag/src/tap/cable/xpc.c @@ -94,6 +94,7 @@ xpc_set_trst( cable_t *cable, int trst ) void xpc_set_frequency( cable_t *cable, uint32_t new_frequency ) { + cable->frequency = new_frequency; }