From 7477406a401637a2970661ee884ba11e100b30b6 Mon Sep 17 00:00:00 2001 From: batt Date: Tue, 29 Sep 2009 07:49:41 +0000 Subject: [PATCH] Message data should be const. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2985 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/net/ax25.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1