fix for deriving

This commit is contained in:
john30
2016-10-23 16:08:20 +02:00
parent af6e1c1054
commit 8e247be86d
+3
View File
@@ -41,6 +41,9 @@ result_t TemParamDataType::derive(int divisor, unsigned char bitCount, NumberDat
if (divisor == 0) {
divisor = 1;
}
if (bitCount == 0) {
bitCount = m_bitCount;
}
if (divisor == 1 && bitCount == 16) {
derived = this;
return RESULT_OK;