scex reader task started
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit

This commit is contained in:
Irini Kosmidou
2022-03-25 17:48:38 +01:00
parent 15d1da8199
commit df712c7100
7 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,18 @@
#include "ScexUartReader.h"
#include <iostream>
ScexUartReader::ScexUartReader(object_id_t objectId):SystemObject(objectId) {
}
void ScexUartRead::start() {
semaphore->give();
}
ReturnValue_t ScexUartReader::performOperation(uint8_t operationCode) {
std::cout<<"hallo welt"<<std::endl;
semaphore->take();
while(true) {
semaphore->take();
}
return RETURN_OK;
}