From: batt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Date: Tue, 29 Sep 2009 07:49:41 +0000 (+0000)
Subject: Message data should be const.
X-Git-Tag: 2.3.0~95
X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=7477406a401637a2970661ee884ba11e100b30b6;p=bertos.git

Message data should be const.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2985 38d2e660-2303-0410-9eaa-f027e97ec537
---

diff --git a/bertos/net/ax25.h b/bertos/net/ax25.h
index 1db21fa7..2b6a05fb 100644
--- a/bertos/net/ax25.h
+++ b/bertos/net/ax25.h
@@ -115,7 +115,7 @@ typedef struct AX25Msg
 	#endif
 	uint16_t ctrl; ///< AX25 control field
 	uint8_t pid;   ///< AX25 PID field
-	uint8_t *info; ///< Pointer to the info field (payload) of the message
+	const uint8_t *info; ///< Pointer to the info field (payload) of the message
 	size_t len;    ///< Payload length
 } AX25Msg;