forked from PAWPAW-Mirror/lib_xua
Add SERIAL_STR configurable from xua_conf.h
This commit is contained in:
@@ -442,6 +442,16 @@
|
|||||||
#define CODEC_MASTER (0)
|
#define CODEC_MASTER (0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Serial Number String used by the device
|
||||||
|
*
|
||||||
|
* Default: ""
|
||||||
|
*/
|
||||||
|
#ifndef SERIAL_STR
|
||||||
|
#define SERIAL_STR ""
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Vendor String used by the device. This is also pre-pended to various strings used by the design.
|
* @brief Vendor String used by the device. This is also pre-pended to various strings used by the design.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -118,7 +118,8 @@ char g_product_str[XUA_MAX_STR_LEN] = PRODUCT_STR_A2;
|
|||||||
char g_product_str[XUA_MAX_STR_LEN] = PRODUCT_STR_A1;
|
char g_product_str[XUA_MAX_STR_LEN] = PRODUCT_STR_A1;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
char g_serial_str[XUA_MAX_STR_LEN] = "";
|
/* Global variable for current USB Serial Number strings */
|
||||||
|
char g_serial_str[XUA_MAX_STR_LEN] = SERIAL_STR;
|
||||||
|
|
||||||
/* Subslot */
|
/* Subslot */
|
||||||
const unsigned g_subSlot_Out_HS[OUTPUT_FORMAT_COUNT] = {HS_STREAM_FORMAT_OUTPUT_1_SUBSLOT_BYTES,
|
const unsigned g_subSlot_Out_HS[OUTPUT_FORMAT_COUNT] = {HS_STREAM_FORMAT_OUTPUT_1_SUBSLOT_BYTES,
|
||||||
|
|||||||
Reference in New Issue
Block a user