add formel 18
authorTobias <tm@tm3d.de>
Thu, 23 Feb 2017 07:37:51 +0000 (08:37 +0100)
committerTobias <tm@tm3d.de>
Thu, 23 Feb 2017 07:37:51 +0000 (08:37 +0100)
src/owDeviceConfig.cpp

index 28a6c04..9262567 100644 (file)
@@ -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;
                }
 }