From 99f8cee43602016ca5137ed66743451c9a8e8cb8 Mon Sep 17 00:00:00 2001 From: Kolja Waschk Date: Sat, 16 Feb 2008 17:35:21 +0000 Subject: [PATCH] Update cable->frequency setting git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1033 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- jtag/src/tap/cable/usbblaster.c | 1 + jtag/src/tap/cable/xpc.c | 1 + 2 files changed, 2 insertions(+) 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; }