1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-01 12:24:14 +01:00

Remove hardcoded product names (all provided for in boards.txt)

This commit is contained in:
Angus Gratton 2013-05-17 15:02:51 +10:00 committed by Cristian Maglie
parent 6abdeecbf5
commit 1a99be33a3

View File

@ -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;