summaryrefslogtreecommitdiff
path: root/src/jtag
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2011-03-17 03:22:12 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-03-17 07:25:25 +0100
commit33a17fd35995a7f679f92600055a8f55ae380022 (patch)
treeaeced6708919d4275600e4883e9566582e3c8d63 /src/jtag
parent582b4195a99a21caa9522713fae659621137e0f9 (diff)
downloadopenocd+libswd-33a17fd35995a7f679f92600055a8f55ae380022.tar.gz
openocd+libswd-33a17fd35995a7f679f92600055a8f55ae380022.tar.bz2
openocd+libswd-33a17fd35995a7f679f92600055a8f55ae380022.tar.xz
openocd+libswd-33a17fd35995a7f679f92600055a8f55ae380022.zip
Fix a bunch of typos.
Fix a bunch of typos. Most are in code comments, so nothing should break. UNKOWN_COMMAND and CMD_UNKOWN are not used elsewhere, so correcting the spelling should also not break anything.
Diffstat (limited to 'src/jtag')
-rw-r--r--src/jtag/drivers/buspirate.c2
-rw-r--r--src/jtag/drivers/usbprog.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/jtag/drivers/buspirate.c b/src/jtag/drivers/buspirate.c
index 836a4d18..7813f330 100644
--- a/src/jtag/drivers/buspirate.c
+++ b/src/jtag/drivers/buspirate.c
@@ -45,7 +45,7 @@ static void buspirate_scan(bool ir_scan, enum scan_type type,
uint8_t *buffer, int scan_size, struct scan_command *command);
-#define CMD_UNKOWN 0x00
+#define CMD_UNKNOWN 0x00
#define CMD_PORT_MODE 0x01
#define CMD_FEATURE 0x02
#define CMD_READ_ADCS 0x03
diff --git a/src/jtag/drivers/usbprog.c b/src/jtag/drivers/usbprog.c
index cc785556..17b01164 100644
--- a/src/jtag/drivers/usbprog.c
+++ b/src/jtag/drivers/usbprog.c
@@ -54,7 +54,7 @@ static void usbprog_path_move(struct pathmove_command *cmd);
static void usbprog_runtest(int num_cycles);
static void usbprog_scan(bool ir_scan, enum scan_type type, uint8_t *buffer, int scan_size);
-#define UNKOWN_COMMAND 0x00
+#define UNKNOWN_COMMAND 0x00
#define PORT_DIRECTION 0x01
#define PORT_SET 0x02
#define PORT_GET 0x03