sysid: Initialize parameter
parent
d8ab27b2af
commit
c656a2e29b
|
@ -859,7 +859,7 @@ proc hexstr_flip {str} {
|
|||
# \param[custom_string] - string input
|
||||
#
|
||||
|
||||
proc sysid_gen_sys_init_file {custom_string} {
|
||||
proc sysid_gen_sys_init_file {{custom_string {}}} {
|
||||
|
||||
# git sha
|
||||
if {[catch {exec git rev-parse HEAD} gitsha_string] != 0} {
|
||||
|
|
|
@ -95,7 +95,7 @@ proc rev_by_string {str} {
|
|||
# \param[custom_string] - string input
|
||||
#
|
||||
|
||||
proc sysid_gen_sys_init_file {custom_string} {
|
||||
proc sysid_gen_sys_init_file {{custom_string {}}} {
|
||||
|
||||
global project_name;
|
||||
puts "project_name: $project_name";
|
||||
|
|
Loading…
Reference in New Issue