fsfw-example-stm32h7-rtems/bsp_stm32h7_rtems/fsfwconfig/ipc/missionMessageTypes.h

21 lines
532 B
C
Raw Normal View History

2021-07-16 11:10:39 +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-27 02:17:19 +02:00
/* Remember to add new message types to the clearMissionMessage function below!
*/
2021-07-16 11:10:39 +02:00
enum MISSION_MESSAGE_TYPE {
2022-05-27 02:17:19 +02:00
COSTUM_MESSAGE = FW_MESSAGES_COUNT,
2021-07-16 11:10:39 +02:00
};
2022-05-27 02:17:19 +02:00
void clearMissionMessage(CommandMessage *message);
2021-07-16 11:10:39 +02:00
2022-05-27 02:17:19 +02:00
} // namespace messagetypes
2021-07-16 11:10:39 +02:00
#endif /* FSFWCONFIG_IPC_MISSIONMESSAGETYPES_H_ */