eive-obsw/bsp_q7s/memory/FileSystemHandler.cpp

17 lines
532 B
C++
Raw Normal View History

2021-07-08 12:22:41 +02:00
#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);
}
}