fixes taken over

This commit is contained in:
Robin Müller 2020-09-15 15:58:12 +02:00
parent e8de2fc47a
commit e707c5e051

View File

@ -8,7 +8,7 @@
/** /**
* @brief Default command message used to pass command messages between tasks. * @brief Default command message used to pass command messages between tasks.
* Primary message type for IPC. Contains sender, 2-byte command ID * Primary message type for IPC. Contains sender, 2-byte command ID
* field, and 2 4-byte parameters. * field, and 3 4-byte parameter
* @details * @details
* It operates on an external memory which is contained inside a * It operates on an external memory which is contained inside a
* class implementing MessageQueueMessageIF by taking its address. * class implementing MessageQueueMessageIF by taking its address.
@ -23,10 +23,11 @@
class CommandMessage: public MessageQueueMessage, public CommandMessageIF { class CommandMessage: public MessageQueueMessage, public CommandMessageIF {
public: public:
/** /**
* Default size can accomodate 2 4-byte parameters. * Default size can accomodate 3 4-byte parameters.
*/ */
static constexpr size_t DEFAULT_COMMAND_MESSAGE_SIZE = static constexpr size_t DEFAULT_COMMAND_MESSAGE_SIZE =
CommandMessageIF::MINIMUM_COMMAND_MESSAGE_SIZE + sizeof(uint32_t); CommandMessageIF::MINIMUM_COMMAND_MESSAGE_SIZE +
3 * sizeof(uint32_t);
/** /**
* @brief Default Constructor, does not initialize anything. * @brief Default Constructor, does not initialize anything.