tm3d
/
owTools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d881eb
)
add formel 18
author
Tobias
<tm@tm3d.de>
Thu, 23 Feb 2017 07:37:51 +0000
(08:37 +0100)
committer
Tobias
<tm@tm3d.de>
Thu, 23 Feb 2017 07:37:51 +0000
(08:37 +0100)
src/owDeviceConfig.cpp
patch
|
blob
|
history
diff --git
a/src/owDeviceConfig.cpp
b/src/owDeviceConfig.cpp
index
28a6c04
..
9262567
100644
(file)
--- a/
src/owDeviceConfig.cpp
+++ b/
src/owDeviceConfig.cpp
@@
-243,6
+243,7
@@
double owDeviceConfig::calculateValueFromNumber(int code, int vn, std::vector<in
case 15:return exp((V[vn]-32767.0)/1000.0); break;
case 16:return V[vn]/32.0; break;
case 17:return V[vn]*0.2441/1000.0; break; //Vsens DS2438
+ case 18:return V[vn]/8.0;break;
default:return 0;
}
}