sysid: Initialize parameter

main
Sergiu Arpadi 2020-09-29 00:17:03 +03:00 committed by sarpadi
parent d8ab27b2af
commit c656a2e29b
2 changed files with 2 additions and 2 deletions

View File

@ -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} {

View File

@ -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";