Explorar o código

fix #692 (max picoseconds in datavalue is 9999)

Julius Pfrommer %!s(int64=8) %!d(string=hai) anos
pai
achega
b630fd155b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;