aboutsummaryrefslogtreecommitdiff
path: root/bootloaders/diskloader/src/USBDesc.cpp
diff options
context:
space:
mode:
authorZach Eveland <zeveland@blacklabel-development.com>2012-01-10 15:51:44 -0500
committerZach Eveland <zeveland@blacklabel-development.com>2012-01-10 15:51:44 -0500
commit94443a2a7700976c148843c2bb7d46e05744cff8 (patch)
treeb622f43bdadd2ae07c0f4248ec12da7cb8da3d30 /bootloaders/diskloader/src/USBDesc.cpp
parentdbec0f0058fdf33ef95b57f130c5ff8986f5c359 (diff)
got rid of u8, u16, u32 typedefs in Diskloader
done to bring types in line with others in Arduino core
Diffstat (limited to 'bootloaders/diskloader/src/USBDesc.cpp')
-rw-r--r--bootloaders/diskloader/src/USBDesc.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/bootloaders/diskloader/src/USBDesc.cpp b/bootloaders/diskloader/src/USBDesc.cpp
index b143687..7160868 100644
--- a/bootloaders/diskloader/src/USBDesc.cpp
+++ b/bootloaders/diskloader/src/USBDesc.cpp
@@ -22,17 +22,17 @@
//====================================================================================================
// Actual device descriptors
-const u16 STRING_LANGUAGE[2] = {
+const uint16_t STRING_LANGUAGE[2] = {
(3<<8) | (2+2),
0x0409 // English
};
-const u16 STRING_SERIAL[13] = {
+const uint16_t STRING_SERIAL[13] = {
(3<<8) | (2+2*12),
USB_SERIAL_STRING
};
-const u16 STRING_IPRODUCT[28] = {
+const uint16_t STRING_IPRODUCT[28] = {
(3<<8) | (2+2*27),
#if USB_PID == USB_PID_LEONARDO
'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'
@@ -41,7 +41,7 @@ const u16 STRING_IPRODUCT[28] = {
#endif
};
-const u16 STRING_IMANUFACTURER[12] = {
+const uint16_t STRING_IMANUFACTURER[12] = {
(3<<8) | (2+2*11),
'A','r','d','u','i','n','o',' ','L','L','C'
};