fix(master : nicsensor) update to 1.9.5
修正拼写错误
This commit is contained in:
parent
37d328c7f3
commit
f526fa8190
10
nicsensor.sh
10
nicsensor.sh
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
SCRIPT_VERSION="1.9.4"
|
SCRIPT_VERSION="1.9.5"
|
||||||
# ---------------------------------------------------------
|
# ---------------------------------------------------------
|
||||||
# Project Feature Varible (Change if need)
|
# Project Feature Varible (Change if need)
|
||||||
# ---------------------------------------------------------
|
# ---------------------------------------------------------
|
||||||
@ -1220,7 +1220,7 @@ process_ina226(){
|
|||||||
# @Param1 lm95241 data high 8bit
|
# @Param1 lm95241 data high 8bit
|
||||||
# @Param2 lm95241 data low 8bit
|
# @Param2 lm95241 data low 8bit
|
||||||
# @Param3 customization sensor name
|
# @Param3 customization sensor name
|
||||||
convert_lms95241_data(){
|
convert_lm95241_data(){
|
||||||
if [ "$3" = "disable" ];then
|
if [ "$3" = "disable" ];then
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
@ -1251,9 +1251,9 @@ read_lm95241_value(){
|
|||||||
fmt_print "log" $INFO "LM95241 remote2 data: $res_lm95241_remote2_h $res_lm95241_remote2_l"
|
fmt_print "log" $INFO "LM95241 remote2 data: $res_lm95241_remote2_h $res_lm95241_remote2_l"
|
||||||
|
|
||||||
fmt_print "console" $INFO "LM95241 read result:"
|
fmt_print "console" $INFO "LM95241 read result:"
|
||||||
convert_lms95241_data $res_lm95241_local_h $res_lm95241_local_l "$LM95241_Local_name"
|
convert_lm95241_data $res_lm95241_local_h $res_lm95241_local_l "$LM95241_Local_name"
|
||||||
convert_lms95241_data $res_lm95241_remote1_h $res_lm95241_remote1_l "$LM95241_Remote1_name"
|
convert_lm95241_data $res_lm95241_remote1_h $res_lm95241_remote1_l "$LM95241_Remote1_name"
|
||||||
convert_lms95241_data $res_lm95241_remote2_h $res_lm95241_remote2_l "$LM95241_Remote2_name"
|
convert_lm95241_data $res_lm95241_remote2_h $res_lm95241_remote2_l "$LM95241_Remote2_name"
|
||||||
}
|
}
|
||||||
|
|
||||||
process_lm95241(){
|
process_lm95241(){
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user