From 90843468a82967dbd708589c4517716c9354f5b3 Mon Sep 17 00:00:00 2001 From: dario Date: Sun, 31 Dec 2023 08:10:02 +0100 Subject: [PATCH] Added default config --- include/sta/tacos/configs/default.hpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 include/sta/tacos/configs/default.hpp diff --git a/include/sta/tacos/configs/default.hpp b/include/sta/tacos/configs/default.hpp new file mode 100644 index 0000000..b68739b --- /dev/null +++ b/include/sta/tacos/configs/default.hpp @@ -0,0 +1,12 @@ +#ifndef STA_TACOS_CONFIGS_DEFAULT_HPP +#define STA_TACOS_CONFIGS_DEFAULT_HPP + +// Generally, we assume the TACOS threads to have the highest priorties. +#define STA_TACOS_MANAGER_PRIORITY osPriorityHigh +#define STA_TACOS_STATEMACHINE_PRIORITY osPriorityHigh +#define STA_TACOS_WATCHDOG_PRIORITY osPriorityHigh + +// Per default, we assume state 0 to be the initial state. +#define STA_TACOS_INITIAL_STATE 0 + +#endif // STA_TACOS_CONFIGS_DEFAULT_HPP \ No newline at end of file