updated file system handler

This commit is contained in:
2021-07-08 12:22:41 +02:00
committed by Robin Mueller
parent 008c6f9753
commit ef3fb0457e
6 changed files with 54 additions and 17 deletions

View File

@ -0,0 +1,16 @@
#include "FileSystemHandler.h"
#include "fsfw/tasks/TaskFactory.h"
FileSystemHandler::FileSystemHandler(object_id_t fileSystemHandler):
SystemObject(fileSystemHandler) {
}
ReturnValue_t FileSystemHandler::performOperation(uint8_t unsignedChar) {
while(true) {
// This task will have a low priority and will run permanently in the background
// so we will just run in a permanent loop here and check file system
// messages permanently
TaskFactory::instance()->delayTask(1000);
}
}