Update temp.inc.sh

This commit is contained in:
2024-02-25 09:14:43 -06:00
parent 41cb2f9e29
commit fea662fdd1

View File

@@ -160,10 +160,10 @@ CHECKTEMP(){
fi
if ([ "${average}" != "" ] || [ "${temp_f}" != "" ]) && [[ "${SENSOR}" != *"FAN"* ]]; then
if [ "${average}" != "" ]; then
[ "${temp_f}" != "" ] && [ "${temp_f_disp}" != "0" ] && fws=11 || fws=9
[ "${temp_f}" != "" ] && [ "${temp_f_disp}" != "0" ] && fws=12 || fws=9
tmp="${spca}${average_disp}${GAUGESH}"
else
fws=21
fws=20
tmp="${spct}${temp_f_disp}${GAUGESH}"
fi
c=0; spc=''; spc1=`expr ${fws} - ${#tmp}`; until [ ${c} = ${spc1} ]; do spc="${spc} "; c=`expr ${c} + 1`; done