Skip to content

Commit

Permalink
Fixed Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
gabryelreyes committed Nov 20, 2023
1 parent b10c1a5 commit 5deed50
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/SerialMuxProtCommon.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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_ */
/** @} */

0 comments on commit 5deed50

Please sign in to comment.