Message data should be const.
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 29 Sep 2009 07:49:41 +0000 (07:49 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Tue, 29 Sep 2009 07:49:41 +0000 (07:49 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2985 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/net/ax25.h

index 1db21fa7dac9685204f65f87a6181b475afec1ce..2b6a05fb72932cd162ec9e837c0aaf60f30ff288 100644 (file)
@@ -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;