v1.9.0 #175

Merged
muellerr merged 623 commits from develop into main 2022-03-08 10:32:41 +01:00
2 changed files with 16 additions and 3 deletions
Showing only changes of commit a706f6d9bd - Show all commits

View File

@ -22,11 +22,18 @@
#include <cstdio>
Q7STestTask::Q7STestTask(object_id_t objectId): TestTask(objectId) {
doTestSdCard = false;
doTestScratchApi = false;
doTestGps = false;
}
ReturnValue_t Q7STestTask::performOneShotAction() {
//testSdCard();
//testScratchApi();
if (doTestSdCard) {
testSdCard();
}
if (doTestScratchApi) {
testScratchApi();
}
//testJsonLibDirect();
//testDummyParams();
//testProtHandler();
@ -36,7 +43,9 @@ ReturnValue_t Q7STestTask::performOneShotAction() {
}
ReturnValue_t Q7STestTask::performPeriodicAction() {
testGpsDaemon();
if(doTestGps) {
testGpsDaemon();
}
return TestTask::performPeriodicAction();
}

View File

@ -9,6 +9,10 @@ public:
ReturnValue_t initialize() override;
private:
bool doTestSdCard = false;
bool doTestScratchApi = false;
bool doTestGps = false;
CoreController* coreController = nullptr;
ReturnValue_t performOneShotAction() override;
ReturnValue_t performPeriodicAction() override;