From: Tobias <tm@tm3d.de> Date: Tue, 4 Jul 2017 09:40:37 +0000 (+0200) Subject: New Formula DS2438 Pressure X-Git-Url: https://git.smho.de/?a=commitdiff_plain;h=51072ef678990d6bd1a228f2a14a6e2ca82a0037;p=owTools.git New Formula DS2438 Pressure --- diff --git a/src/owDeviceConfig.cpp b/src/owDeviceConfig.cpp index 963b3a0..00bb4b4 100644 --- a/src/owDeviceConfig.cpp +++ b/src/owDeviceConfig.cpp @@ -245,6 +245,7 @@ double owDeviceConfig::calculateValueFromNumber(int code, int vn, std::vector<in case 17:return V[vn]*0.2441/1000.0; break; //Vsens DS2438 case 18:return V[vn]/8.0;break; case 19:return V[vn]/500.0*14.0;break; //Test + case 20:return V[vn]*0.5+700;break; default:return 0; } }