one shot flag not static anymore #560

Merged
gaisser merged 6 commits from eive/fsfw:mueller/test-task-one-shot-flag-not-static into development 2022-02-28 15:50:07 +01:00
3 changed files with 7 additions and 2 deletions
Showing only changes of commit 9c2ceb4a9f - Show all commits

View File

@ -8,6 +8,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
# [unreleased]
# [v5.0.0]
## Changes
- `oneShotAction` flag in the `TestTask` class is not static anymore
# [v4.0.0]
## Additions

View File

@ -3,7 +3,6 @@
#include <fsfw/objectmanager/ObjectManager.h>
#include <fsfw/serviceinterface/ServiceInterface.h>
bool TestTask::oneShotAction = true;
MutexIF* TestTask::testLock = nullptr;
TestTask::TestTask(object_id_t objectId) : SystemObject(objectId), testMode(testModes::A) {

View File

@ -29,7 +29,7 @@ class TestTask : public SystemObject, public ExecutableObjectIF, public HasRetur
bool testFlag = false;
private:
static bool oneShotAction;
bool oneShotAction = true;
static MutexIF* testLock;
StorageManagerIF* IPCStore;
};