tm3d
/
owTools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Config Change.... 0xCC for temp measurement DS2438/DS18B20
[owTools.git]
/
src
/
owDeviceConfig.cpp
diff --git
a/src/owDeviceConfig.cpp
b/src/owDeviceConfig.cpp
index
66bc9df
..
33f9769
100644
(file)
--- a/
src/owDeviceConfig.cpp
+++ b/
src/owDeviceConfig.cpp
@@
-279,7
+279,8
@@
double owDeviceConfig::calculateValueFromNumber(int code, int vn, std::vector<in
case 19:return V[vn]/500.0*14.0;break; //Test
case 20:return V[vn]*0.5+700;break;
case 21:return V[vn]+1280; break;
- default:return 0;
+ case 22:return V[vn]*10;break;
+ default:return V[vn];
}
}