summaryrefslogtreecommitdiff
path: root/firmware/src
diff options
context:
space:
mode:
authorlaforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-09-25 21:36:42 +0000
committerlaforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-09-25 21:36:42 +0000
commit89c40594e76db780d1b72795901a8e8754810a62 (patch)
treef75507698f8e39f50e46c00d27543d11c845004a /firmware/src
parent5872753e2dbdca5b252470c5210cdf54ee1788dd (diff)
- fix minor issues with USB string support
git-svn-id: https://svn.openpcd.org:2342/trunk@228 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'firmware/src')
-rw-r--r--firmware/src/dfu/dfu.c2
-rw-r--r--firmware/src/os/pcd_enumerate.c2
-rw-r--r--firmware/src/picc/usb_strings_app.txt2
3 files changed, 3 insertions, 3 deletions
diff --git a/firmware/src/dfu/dfu.c b/firmware/src/dfu/dfu.c
index 40ad64f..2295853 100644
--- a/firmware/src/dfu/dfu.c
+++ b/firmware/src/dfu/dfu.c
@@ -678,7 +678,7 @@ static __dfufunc void dfu_udp_ep0_handler(void)
udp_ep0_send_stall();
break;
}
- DEBUGP("bLength=%u, wLength=%u\n",
+ DEBUGE("bLength=%u, wLength=%u ",
usb_strings[desc_index]->bLength, wLength);
udp_ep0_send_data((const char *) usb_strings[desc_index],
MIN(usb_strings[desc_index]->bLength,
diff --git a/firmware/src/os/pcd_enumerate.c b/firmware/src/os/pcd_enumerate.c
index 588831c..c170dc5 100644
--- a/firmware/src/os/pcd_enumerate.c
+++ b/firmware/src/os/pcd_enumerate.c
@@ -34,7 +34,7 @@
#include <lib_AT91SAM7.h>
#include <openpcd.h>
-#include <usb_strings.h>
+#include <usb_strings_app.h>
#include <os/pcd_enumerate.h>
#include <os/req_ctx.h>
diff --git a/firmware/src/picc/usb_strings_app.txt b/firmware/src/picc/usb_strings_app.txt
index ea08dab..d892c72 100644
--- a/firmware/src/picc/usb_strings_app.txt
+++ b/firmware/src/picc/usb_strings_app.txt
@@ -2,5 +2,5 @@ OpenPICC DFU Interface - Application Partition
OpenPICC DFU Interface - Bootloader Partition
bitmanufaktur.de IT Solutions and hmw-consulting.de
OpenPICC RFID Simulator - Runtime Mode
-OpenPIIC Runtime Configuration
+OpenPICC Runtime Configuration
OpenPICC Runtime Interface
personal git repositories of Harald Welte. Your mileage may vary