periodic event
This commit is contained in:
parent
59a9711115
commit
c27416c0a7
@ -51,7 +51,11 @@ void ObjectFactory::produce(void* args) {
|
||||
|
||||
#endif /* OBSW_ADD_CORE_COMPONENTS == 1 */
|
||||
|
||||
new TestTask(objects::TEST_TASK, false);
|
||||
bool periodicEvent = false;
|
||||
#if OBSW_TASK_PERIODIC_EVENT == 1
|
||||
periodicEvent = true;
|
||||
#endif
|
||||
new TestTask(objects::TEST_TASK, false, periodicEvent);
|
||||
|
||||
ObjectFactory::produceGenericObjects();
|
||||
}
|
||||
|
@ -8,6 +8,8 @@
|
||||
|
||||
#include <commonConfig.h>
|
||||
|
||||
#define OBSW_TASK_PERIODIC_EVENT 0
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
#include "events/subsystemIdRanges.h"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef FSFWCONFIG_TMTC_SUBSYSTEMIDRANGES_H_
|
||||
#define FSFWCONFIG_TMTC_SUBSYSTEMIDRANGES_H_
|
||||
|
||||
#include <commonConfig.h>
|
||||
#include "commonSubsystemIds.h"
|
||||
|
||||
namespace SUBSYSTEM_ID {
|
||||
enum subsystemId: uint8_t {
|
||||
|
26
cmake/scripts/Linux/ninja_debug_cfg.sh
Executable file
26
cmake/scripts/Linux/ninja_debug_cfg.sh
Executable file
@ -0,0 +1,26 @@
|
||||
#!/bin/sh
|
||||
counter=0
|
||||
while [ ${counter} -lt 5 ]
|
||||
do
|
||||
cd ..
|
||||
if [ -f "cmake_build_config.py" ];then
|
||||
break
|
||||
fi
|
||||
counter=$((counter=counter + 1))
|
||||
done
|
||||
|
||||
if [ "${counter}" -ge 5 ];then
|
||||
echo "create_cmake_cfg.sh not found in upper directories!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
build_generator="Ninja"
|
||||
os_fsfw="linux"
|
||||
builddir="build-Debug"
|
||||
|
||||
echo "Running command (without the leading +):"
|
||||
set -x # Print command
|
||||
python3 cmake_build_config.py -o "${os_fsfw}" -g "${build_generator}" -b "debug" \
|
||||
-t "host/none" -l "${builddir}"
|
||||
# Use this if commands are added which should not be printed
|
||||
# set +x
|
@ -1 +1 @@
|
||||
Subproject commit edaccc0dbdad5d1072aa890b532b5e177ad4e8b1
|
||||
Subproject commit 112adcbb64c55d1c951c98985f3250c24f6285fa
|
Loading…
Reference in New Issue
Block a user