fix(script : nicsensor.sh) 修复版本号无法记录到日志中的问题
This commit is contained in:
parent
1470a86c3d
commit
0836f65cc5
@ -134,7 +134,7 @@ ina3221_ch2_volt="0"
|
||||
ina3221_ch0_current="0"
|
||||
ina3221_ch1_current="0"
|
||||
ina3221_ch2_current="0"
|
||||
SCRIPT_VRESION="1.2 InTest Rev3"
|
||||
SCRIPT_VERSION="1.2 InTest Rev4"
|
||||
|
||||
fru_file_name=$option_data2
|
||||
fru_write_size=0
|
||||
@ -366,6 +366,7 @@ prepare_start_info(){
|
||||
format_log_print $INFO "PCA9548 channel: $pca9548_channel"
|
||||
|
||||
# Record i2c device info to log
|
||||
format_log_print $INFO "At the beginning, I2C bus status:"
|
||||
res_info=`i2cdetect -y $i2c_bus`
|
||||
echo $res_info >> $log
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user