Update temp.inc.sh

This commit is contained in:
2024-04-21 15:06:21 -05:00
parent 1e06647e49
commit 2785b6d73d

View File

@@ -127,7 +127,6 @@ CHECKTEMP(){
until [ ${c} = ${spc1} ]; do spct="${spct} "; c=`expr ${c} + 1`; done
reading="${lclr}${lmd}${spct}${temp_f_disp}${GAUGESH}"
echo "HERE: '${avgdays}'"
if [ "${avgdays}" = "noavg" ] && [ -f ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.old ]; then
if [ $(bc -l <<< "$(cat ${PW_TMPFOLDER}/.lastinsert/${SENSOR}.old | cut -d'~' -f 1) < ${temp_f}") -eq 1 ]; then
reading="${reading} ${idsCL[LightRed]}\u2B06 "