fix(script : nicsensor.sh)取消一部分屏蔽掉的代码

This commit is contained in:
marcinlei 2024-12-12 22:55:57 +08:00
parent 5510b0d96e
commit 27a77f05bd

@ -855,8 +855,8 @@ read_tmp468_value(){
tmp468_res7_l=`echo $res_tmp468 | awk '{print $14}'`
tmp468_res8_h=`echo $res_tmp468 | awk '{print $15}'`
tmp468_res8_l=`echo $res_tmp468 | awk '{print $16}'`
# tmp468_res9_h=`echo $res_tmp468 | awk '{print $17}'`
# tmp468_res9_l=`echo $res_tmp468 | awk '{print $18}'`
tmp468_res9_h=`echo $res_tmp468 | awk '{print $17}'`
tmp468_res9_l=`echo $res_tmp468 | awk '{print $18}'`
format_print $INFO "Tmp468 read result:"
convert_tmp468_data $tmp468_res1_h $tmp468_res1_l $TMP468_Channel0_name
@ -867,7 +867,7 @@ read_tmp468_value(){
convert_tmp468_data $tmp468_res6_h $tmp468_res6_l $TMP468_Channel5_name
convert_tmp468_data $tmp468_res7_h $tmp468_res7_l $TMP468_Channel6_name
convert_tmp468_data $tmp468_res8_h $tmp468_res8_l $TMP468_Channel7_name
# convert_tmp468_data $tmp468_res9_h $tmp468_res9_l $TMP468_Channel8_name
convert_tmp468_data $tmp468_res9_h $tmp468_res9_l $TMP468_Channel8_name
}
process_tmp468(){
@ -1060,13 +1060,13 @@ detect_on_5280m7(){
do_i2c_detect 3 0x70 0x02 1 1
do_i2c_detect 3 0x70 0x04 2 2
else
# i2c_bus=12
# pca9641_slave="0x41"
# get_pca9641_control
i2c_bus=12
pca9641_slave="0x41"
get_pca9641_control
# do_i2c_detect 12 0x72 0x02 1 0
# do_i2c_detect 12 0x72 0x04 2 1
# do_i2c_detect 12 0x72 0x08 3 2
do_i2c_detect 12 0x72 0x02 1 0
do_i2c_detect 12 0x72 0x04 2 1
do_i2c_detect 12 0x72 0x08 3 2
i2c_bus=13
pca9641_slave="0x42"