diff --git a/nicsensor.sh b/nicsensor.sh index 7c27dd0..c622537 100755 --- a/nicsensor.sh +++ b/nicsensor.sh @@ -1,5 +1,5 @@ #!/bin/sh -SCRIPT_VERSION="1.9.4" +SCRIPT_VERSION="1.9.5" # --------------------------------------------------------- # Project Feature Varible (Change if need) # --------------------------------------------------------- @@ -1220,7 +1220,7 @@ process_ina226(){ # @Param1 lm95241 data high 8bit # @Param2 lm95241 data low 8bit # @Param3 customization sensor name -convert_lms95241_data(){ +convert_lm95241_data(){ if [ "$3" = "disable" ];then return 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 "console" $INFO "LM95241 read result:" - convert_lms95241_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_lms95241_data $res_lm95241_remote2_h $res_lm95241_remote2_l "$LM95241_Remote2_name" + convert_lm95241_data $res_lm95241_local_h $res_lm95241_local_l "$LM95241_Local_name" + convert_lm95241_data $res_lm95241_remote1_h $res_lm95241_remote1_l "$LM95241_Remote1_name" + convert_lm95241_data $res_lm95241_remote2_h $res_lm95241_remote2_l "$LM95241_Remote2_name" } process_lm95241(){