scex reader task started
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
Some checks failed
EIVE/eive-obsw/pipeline/head There was a failure building this commit
This commit is contained in:
18
linux/devices/ScexUartReader.cpp
Normal file
18
linux/devices/ScexUartReader.cpp
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user