fsfw-example-stm32h7-freertos/bsp_stm32h7_freertos/fsfwconfig/ipc/missionMessageTypes.h

21 lines
532 B
C
Raw Normal View History

2021-07-12 21:50:48 +02:00
#ifndef FSFWCONFIG_IPC_MISSIONMESSAGETYPES_H_
#define FSFWCONFIG_IPC_MISSIONMESSAGETYPES_H_
#include <fsfw/ipc/FwMessageTypes.h>
class CommandMessage;
namespace messagetypes {
/* First type must have number MESSAGE_TYPE::FW_MESSAGES_COUNT! */
2022-05-22 15:30:38 +02:00
/* Remember to add new message types to the clearMissionMessage function below!
*/
2021-07-12 21:50:48 +02:00
enum MISSION_MESSAGE_TYPE {
2022-05-22 15:30:38 +02:00
COSTUM_MESSAGE = FW_MESSAGES_COUNT,
2021-07-12 21:50:48 +02:00
};
2022-05-22 15:30:38 +02:00
void clearMissionMessage(CommandMessage *message);
2021-07-12 21:50:48 +02:00
2022-05-22 15:30:38 +02:00
} // namespace messagetypes
2021-07-12 21:50:48 +02:00
#endif /* FSFWCONFIG_IPC_MISSIONMESSAGETYPES_H_ */