From 5deed503d82271da6285f383b17fefc2af1d8b48 Mon Sep 17 00:00:00 2001 From: greyes Date: Mon, 20 Nov 2023 21:42:51 +0100 Subject: [PATCH] Fixed Documentation --- src/SerialMuxProtCommon.hpp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/SerialMuxProtCommon.hpp b/src/SerialMuxProtCommon.hpp index a17f7c7..f3b64fa 100644 --- a/src/SerialMuxProtCommon.hpp +++ b/src/SerialMuxProtCommon.hpp @@ -167,13 +167,16 @@ enum COMMANDS : uint8_t SCRB_RSP, /**< Subscribe Response */ }; +/** + * Command Channel Payload Structure. + */ typedef struct _Command { - uint8_t commandByte; - uint32_t timestamp; - uint8_t channelNumber; - char channelName[CHANNEL_NAME_MAX_LEN]; -} __attribute__((packed)) Command; + uint8_t commandByte; /**< Command Byte */ + uint32_t timestamp; /**< Timestamp */ + uint8_t channelNumber; /**< Channel Number */ + char channelName[CHANNEL_NAME_MAX_LEN]; /**< Channel Name */ +} __attribute__((packed)) Command; /**< Command */ #endif /* SERIALMUXPROT_COMMON_H_ */ /** @} */