diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-12-06 09:21:23 +0100 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-12-08 08:43:52 +0100 |
commit | 740b9e25b410c164e661d0334a9ea4168406726b (patch) | |
tree | 0c396aab2d3287a0bb38b6d9bf3921d12d273740 /src/jtag/jtag.h | |
parent | 5cd931ed1ccc75bdbaab821686ceff04c3cb002b (diff) |
jtag: getting the JTAG speed can fail
If the JTAG speed has not been set, then it has no defined
value, add code to propagate the error.
No change to actual behavior as no new failure paths have
been introduced. This is a no-op patch to make subsequent patches
smaller.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/jtag/jtag.h')
-rw-r--r-- | src/jtag/jtag.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jtag/jtag.h b/src/jtag/jtag.h index d6e49e0a..db7cd5c9 100644 --- a/src/jtag/jtag.h +++ b/src/jtag/jtag.h @@ -239,7 +239,7 @@ int jtag_call_event_callbacks(enum jtag_event event); /// @returns The current JTAG speed setting. -int jtag_get_speed(void); +int jtag_get_speed(int *speed); /** * Given a @a speed setting, use the interface @c speed_div callback to |