formattingdiff

This commit is contained in:
john30
2017-01-15 13:10:04 +01:00
parent a1fcfde382
commit 5b66b4fe3c
+1 -1
View File
@@ -286,7 +286,7 @@ result_t SingleDataField::create(const string id, const unsigned char length,
} }
byteCount = (unsigned char)((bitCount + 7) / 8); byteCount = (unsigned char)((bitCount + 7) / 8);
} else if (length == 0) { } else if (length == 0) {
byteCount = 1; //default byte count: 1 byte byteCount = 1; // default byte count: 1 byte
} else if (length <= byteCount || length == REMAIN_LEN) { } else if (length <= byteCount || length == REMAIN_LEN) {
byteCount = length; byteCount = length;
} else { } else {