summaryrefslogtreecommitdiff
path: root/src/jtag/jtag.h
diff options
context:
space:
mode:
authorØyvind Harboe <oyvind.harboe@zylin.com>2010-03-19 22:06:01 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-03-21 19:13:49 +0100
commit5dcad2d34fc40659018da2cf75ceeacd3abea860 (patch)
treee3beca76ee6390f68ccb443843ea0a2e99d6dd76 /src/jtag/jtag.h
parent96949890ee29ab4b3ca15802302c5d93358b69e1 (diff)
downloadopenocd_libswd-5dcad2d34fc40659018da2cf75ceeacd3abea860.tar.gz
openocd_libswd-5dcad2d34fc40659018da2cf75ceeacd3abea860.tar.bz2
openocd_libswd-5dcad2d34fc40659018da2cf75ceeacd3abea860.tar.xz
openocd_libswd-5dcad2d34fc40659018da2cf75ceeacd3abea860.zip
jtag: make out_value const
Tightens up the jtag_add_xxx_scan() API Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/jtag/jtag.h')
-rw-r--r--src/jtag/jtag.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jtag/jtag.h b/src/jtag/jtag.h
index a6d16e93..cdc02ab7 100644
--- a/src/jtag/jtag.h
+++ b/src/jtag/jtag.h
@@ -2,7 +2,7 @@
* Copyright (C) 2005 by Dominic Rath *
* Dominic.Rath@gmx.de *
* *
-* Copyright (C) 2007,2008 Øyvind Harboe *
+* Copyright (C) 2007-2010 Øyvind Harboe *
* oyvind.harboe@zylin.com *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -112,7 +112,7 @@ struct scan_field {
/// The number of bits this field specifies (up to 32)
int num_bits;
/// A pointer to value to be scanned into the device
- uint8_t* out_value;
+ const uint8_t* out_value;
/// A pointer to a 32-bit memory location for data scanned out
uint8_t* in_value;