Browse Source

fix #692 (max picoseconds in datavalue is 9999)

Julius Pfrommer 8 years ago
parent
commit
b630fd155b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/ua_types_encoding_binary.c

+ 1 - 1
src/ua_types_encoding_binary.c

@@ -966,7 +966,7 @@ DataValue_encodeBinary(UA_DataValue const *src, const UA_DataType *_) {
     return retval;
 }
 
-#define MAX_PICO_SECONDS 999
+#define MAX_PICO_SECONDS 9999
 static UA_StatusCode
 DataValue_decodeBinary(UA_DataValue *dst, const UA_DataType *_) {
     UA_Byte encodingMask;