-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
48 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#include "usb_names.h" | ||
|
||
// USED BY TEENSY TO DEFINE USB PRODUCT/MANUFACTURER/SERIAL INFO | ||
|
||
#define PRODUCT_NAME {'p','o','l','a','r','o', 'n'} | ||
#define PRODUCT_NAME_LEN 7 | ||
#define MANUFACTURER_NAME {'p','o','l','a','r','o', 'n'} | ||
#define MANUFACTURER_NAME_LEN 7 | ||
|
||
// Change this to something different if you like - but you MUST keep the "m" as the first character. | ||
#define SERIAL_NUM {'m','4','6','7','6','0','5','5'} | ||
#define SERIAL_NUM_LEN 8 | ||
|
||
struct usb_string_descriptor_struct usb_string_product_name = { | ||
2 + PRODUCT_NAME_LEN * 2, | ||
3, | ||
PRODUCT_NAME | ||
}; | ||
|
||
struct usb_string_descriptor_struct usb_string_manufacturer_name = { | ||
2 + MANUFACTURER_NAME_LEN * 2, | ||
3, | ||
MANUFACTURER_NAME | ||
}; | ||
|
||
struct usb_string_descriptor_struct usb_string_serial_number = { | ||
2 + SERIAL_NUM_LEN * 2, | ||
3, | ||
SERIAL_NUM | ||
}; |