eive-obsw/linux/devices/ScexUartReader.cpp
Irini Kosmidou df712c7100
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
scex reader task started
2022-03-25 17:48:38 +01:00

19 lines
371 B
C++

#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;
}