usbprog: fix shadowed declaration warning
see Trac #38 Change-Id: If86fda797391f10d745384794b68e60380ef0b21 Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Reviewed-on: http://openocd.zylin.com/204 Tested-by: jenkins Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
This commit is contained in:
parent
e224b64d70
commit
dbf25984cd
|
@ -317,7 +317,7 @@ static void usbprog_scan(bool ir_scan, enum scan_type type, uint8_t *buffer, int
|
|||
|
||||
usbprog_jtag_tms_send(usbprog_jtag_handle);
|
||||
|
||||
void (*f)(struct usbprog_jtag *usbprog_jtag, char * buffer, int size);
|
||||
void (*f)(struct usbprog_jtag *usbprog_jtag, char * buffer_local, int size);
|
||||
switch (type) {
|
||||
case SCAN_OUT: f = &usbprog_jtag_write_tdi; break;
|
||||
case SCAN_IN: f = &usbprog_jtag_read_tdo; break;
|
||||
|
|
Loading…
Reference in New Issue