diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-16 20:09:07 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-16 20:09:07 +0000 |
commit | 231a71b7fba9277aaa7772a78788ebded3253b47 (patch) | |
tree | debdbe174dab15465c6fe48d1653736e91e384a3 /src/jtag/jlink.c | |
parent | 1bcbd44ed3a3165f1845b9da1f8c282321fe5988 (diff) | |
download | riscv-openocd-231a71b7fba9277aaa7772a78788ebded3253b47.zip riscv-openocd-231a71b7fba9277aaa7772a78788ebded3253b47.tar.gz riscv-openocd-231a71b7fba9277aaa7772a78788ebded3253b47.tar.bz2 |
Michael Bruck <mbruck@digenius.de> change 'ir_scan' from 'int' to 'bool' to document its semantics
git-svn-id: svn://svn.berlios.de/openocd/trunk@1800 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag/jlink.c')
-rw-r--r-- | src/jtag/jlink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jtag/jlink.c b/src/jtag/jlink.c index f984639..90fb42c 100644 --- a/src/jtag/jlink.c +++ b/src/jtag/jlink.c @@ -83,7 +83,7 @@ static void jlink_end_state(tap_state_t state); static void jlink_state_move(void); static void jlink_path_move(int num_states, tap_state_t *path); static void jlink_runtest(int num_cycles); -static void jlink_scan(int ir_scan, enum scan_type type, u8 *buffer, int scan_size, scan_command_t *command); +static void jlink_scan(bool ir_scan, enum scan_type type, u8 *buffer, int scan_size, scan_command_t *command); static void jlink_reset(int trst, int srst); static void jlink_simple_command(u8 command); static int jlink_get_status(void); @@ -434,7 +434,7 @@ static void jlink_runtest(int num_cycles) } } -static void jlink_scan(int ir_scan, enum scan_type type, u8 *buffer, int scan_size, scan_command_t *command) +static void jlink_scan(bool ir_scan, enum scan_type type, u8 *buffer, int scan_size, scan_command_t *command) { tap_state_t saved_end_state; |