aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/USBCore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cores/arduino/USBCore.cpp')
-rw-r--r--cores/arduino/USBCore.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/cores/arduino/USBCore.cpp b/cores/arduino/USBCore.cpp
index 9a50bda..c46c75f 100644
--- a/cores/arduino/USBCore.cpp
+++ b/cores/arduino/USBCore.cpp
@@ -50,19 +50,9 @@ const u16 STRING_LANGUAGE[2] = {
};
#ifndef USB_PRODUCT
-// Use a hardcoded product name if none is provided
-#if USB_PID == 0x8036
-#define USB_PRODUCT "Arduino Leonardo"
-#elif USB_PID == 0x8037
-#define USB_PRODUCT "Arduino Micro"
-#elif USB_PID == 0x803C
-#define USB_PRODUCT "Arduino Esplora"
-#elif USB_PID == 0x9208
-#define USB_PRODUCT "LilyPad USB"
-#else
+// If no product is provided, use USB IO Board
#define USB_PRODUCT "USB IO Board"
#endif
-#endif
const u8 STRING_PRODUCT[] PROGMEM = USB_PRODUCT;