diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2010-04-14 16:32:30 +0800 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-04-15 19:19:46 +0200 |
commit | c9e58238c3b1ae181a7d54bc5255ef98771493c2 (patch) | |
tree | 0bf1c99958bc2bd3d73c3bcd6ca17eef5936ef40 /src/server/telnet_server.c | |
parent | ee139164114460d5c4c1a720e28740a7dceca712 (diff) | |
download | openocd_libswd-c9e58238c3b1ae181a7d54bc5255ef98771493c2.tar.gz openocd_libswd-c9e58238c3b1ae181a7d54bc5255ef98771493c2.tar.bz2 openocd_libswd-c9e58238c3b1ae181a7d54bc5255ef98771493c2.tar.xz openocd_libswd-c9e58238c3b1ae181a7d54bc5255ef98771493c2.zip |
NOR/CFI: fix order of arguments check
Syntax of "flash bank" command requires:
- chip_width as CMD_ARGV[3]
- bus_width as CMD_ARGV[4]
Actual code swaps the arguments.
Bug has no run time impact since wrong variables
are only used to check value and both are checked
against same constraint.
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/server/telnet_server.c')
0 files changed, 0 insertions, 0 deletions