17 lines
532 B
C++
17 lines
532 B
C++
|
#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);
|
||
|
}
|
||
|
}
|