aboutsummaryrefslogtreecommitdiff
path: root/bootloaders/diskloader/src/USBDesc.cpp
diff options
context:
space:
mode:
authorZach Eveland <zeveland@blacklabel-development.com>2012-01-10 16:09:56 -0500
committerZach Eveland <zeveland@blacklabel-development.com>2012-01-10 16:09:56 -0500
commit63a86b67ca5944ce7ecee1af861a90d72e7af51d (patch)
tree6e956fa2156dd4b8f515878856cec4abd4b9e4d4 /bootloaders/diskloader/src/USBDesc.cpp
parent0ea882bc247b3cca8788f329d9fe802107fa8960 (diff)
changed USB PID for Leonardo and Micro bootloaders
sketch and bootloader will use different PIDs to distinguish one from the other.
Diffstat (limited to 'bootloaders/diskloader/src/USBDesc.cpp')
-rw-r--r--bootloaders/diskloader/src/USBDesc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootloaders/diskloader/src/USBDesc.cpp b/bootloaders/diskloader/src/USBDesc.cpp
index 7160868..a634d4d 100644
--- a/bootloaders/diskloader/src/USBDesc.cpp
+++ b/bootloaders/diskloader/src/USBDesc.cpp
@@ -34,9 +34,9 @@ const uint16_t STRING_SERIAL[13] = {
const uint16_t STRING_IPRODUCT[28] = {
(3<<8) | (2+2*27),
-#if USB_PID == USB_PID_LEONARDO
+#if USB_PID == USB_PID_LEONARDO_BOOTLOADER
'A','r','d','u','i','n','o',' ','L','e','o','n','a','r','d','o',' ','b','o','o','t','l','o','a','d','e','r'
-#elif USB_PID == USB_PID_MICRO
+#elif USB_PID == USB_PID_MICRO_BOOTLOADER
'A','r','d','u','i','n','o',' ','M','i','c','r','o',' ','b','o','o','t','l','o','a','d','e','r',' ',' ',' '
#endif
};