Added some missong default values.
FossilOrigin-Name: 25b5b5f63ef89c94d1f3ae88025693d37ffae728e6b39e5802d72dfb21fa1550
This commit is contained in:
parent
3e7b17f399
commit
6532e23279
@ -209,6 +209,8 @@ int wtpconf_preinit()
|
||||
|
||||
conf_vendor_id = CONF_DEFAULT_VENDOR_ID;
|
||||
conf_software_version = bstr_create_from_cfgstr(CONF_DEFAULT_SOFTWARE_VERSION);
|
||||
conf_hardware_version = bstr_create_from_cfgstr(CONF_DEFAULT_HARDWARE_VERSION);
|
||||
conf_bootloader_version = bstr_create_from_cfgstr(CONF_DEFAULT_BOOTLOADER_VERSION);
|
||||
conf_serial_no = bstr_create_from_cfgstr(CONF_DEFAULT_SERIAL_NO);
|
||||
|
||||
conf_board_id = bstr_create_from_cfgstr(CONF_DEFAULT_BOARD_ID);
|
||||
|
@ -61,6 +61,10 @@ extern uint8_t conf_macaddress_len;
|
||||
#define CONF_DEFAULT_BOOTLOADER_VENDOR_ID CW_VENDOR_ID_FSF
|
||||
#endif
|
||||
|
||||
#ifndef CONF_DEFAULT_BOOTLOADER_VERSION
|
||||
#define CONF_DEFAULT_BOOTLOADER_VERSION "W-FAT-BL-0.1"
|
||||
#endif
|
||||
|
||||
#ifndef CONF_DEFAULT_MODEL_NO
|
||||
#define CONF_DEFAULT_MODEL_NO "W-FAT"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user