vial initial

This commit is contained in:
Ilya Zhuravlev
2020-10-14 22:14:00 -04:00
parent 4d59657b83
commit 9791507fae
7 changed files with 134 additions and 0 deletions
+4
View File
@@ -940,8 +940,12 @@ const USB_Descriptor_String_t PROGMEM ProductString = {
};
#ifndef SERIAL_NUMBER
#ifdef VIAL_ENABLE
# define SERIAL_NUMBER vial:f64c2b3c
#else
# define SERIAL_NUMBER 0
#endif
#endif
const USB_Descriptor_String_t PROGMEM SerialNumberString = {
.Header = {
+4
View File
@@ -532,8 +532,12 @@ const PROGMEM uchar console_hid_report[] = {
#endif
#ifndef SERIAL_NUMBER
#ifdef VIAL_ENABLE
# define SERIAL_NUMBER vial:f64c2b3c
#else
# define SERIAL_NUMBER 0
#endif
#endif
#ifndef USB_MAX_POWER_CONSUMPTION
# define USB_MAX_POWER_CONSUMPTION 500