mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-03 14:24:15 +01:00
Remove hardcoded product names (all provided for in boards.txt)
This commit is contained in:
parent
6abdeecbf5
commit
1a99be33a3
@ -50,19 +50,9 @@ const u16 STRING_LANGUAGE[2] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
#ifndef USB_PRODUCT
|
#ifndef USB_PRODUCT
|
||||||
// Use a hardcoded product name if none is provided
|
// If no product is provided, use USB IO Board
|
||||||
#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
|
|
||||||
#define USB_PRODUCT "USB IO Board"
|
#define USB_PRODUCT "USB IO Board"
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
const u8 STRING_PRODUCT[] PROGMEM = USB_PRODUCT;
|
const u8 STRING_PRODUCT[] PROGMEM = USB_PRODUCT;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user