Browse Source

fix: UA_BYTE_MAX is 255

Julius Pfrommer 7 years ago
parent
commit
fe8d648726
1 changed files with 2 additions and 2 deletions
  1. 2 2
      include/ua_types.h

+ 2 - 2
include/ua_types.h

@@ -78,10 +78,10 @@ typedef int8_t UA_SByte;
 /**
  * Byte
  * ^^^^
- * An integer value between 0 and 256. */
+ * An integer value between 0 and 255. */
 typedef uint8_t UA_Byte;
 #define UA_BYTE_MIN 0
-#define UA_BYTE_MAX 256
+#define UA_BYTE_MAX 255
 
 /**
  * Int16