Fix temp conversion, correct gitignore to include bin
This commit is contained in:
parent
1c904a7254
commit
79d2343d81
|
@ -18,7 +18,6 @@ vscode/.config/Code - OSS/Network*
|
|||
*.so
|
||||
|
||||
# Distribution / packaging
|
||||
bin/
|
||||
build/
|
||||
develop-eggs/
|
||||
dist/
|
||||
|
|
|
@ -18,6 +18,5 @@ do
|
|||
done
|
||||
|
||||
temp=$(cat $CPU_SENSOR)
|
||||
imperial=$(((9/5)+32))
|
||||
echo $(((temp/10000)*imperial))
|
||||
echo "scale=2;((9/5) * $(cat $CPU_SENSOR)/1000) + 32"|bc
|
||||
|
||||
|
|
Loading…
Reference in New Issue