aboutsummaryrefslogtreecommitdiff
path: root/nugget/include/application.h
diff options
context:
space:
mode:
Diffstat (limited to 'nugget/include/application.h')
-rw-r--r--nugget/include/application.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nugget/include/application.h b/nugget/include/application.h
index 1d485c6..2f897b6 100644
--- a/nugget/include/application.h
+++ b/nugget/include/application.h
@@ -239,7 +239,7 @@ struct transport_status {
/* Valid range of lengths for the status message */
#define STATUS_MIN_LENGTH 0x10
-#define STATUS_MAX_LENGTH 0xff
+#define STATUS_MAX_LENGTH (sizeof(struct transport_status)) /* 0x10 */
/* Flags used in the status message */
#define STATUS_FLAG_WORKING 0x0001 /* added in v1 */