update events
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good

This commit is contained in:
2022-11-16 15:25:29 +01:00
parent eb371b3024
commit 4e3abb92f2
8 changed files with 27 additions and 13 deletions

View File

@ -51,8 +51,8 @@ ReturnValue_t PlocSupvUartManager::initializeInterface(CookieIF* cookie) {
/* Get file descriptor */
serialPort = open(devname.c_str(), O_RDWR);
if (serialPort < 0) {
sif::warning << "ScexUartReader::initializeInterface: open call failed with error [" << errno
<< ", " << strerror(errno) << std::endl;
sif::warning << "PlocSupvUartManager::initializeInterface: open call failed with error ["
<< errno << ", " << strerror(errno) << std::endl;
return FAILED;
}
// Setting up UART parameters
@ -73,7 +73,7 @@ ReturnValue_t PlocSupvUartManager::initializeInterface(CookieIF* cookie) {
uart::setBaudrate(tty, uartCookie->getBaudrate());
if (tcsetattr(serialPort, TCSANOW, &tty) != 0) {
sif::warning << "ScexUartReader::initializeInterface: tcsetattr call failed with error ["
sif::warning << "PlocSupvUartManager::initializeInterface: tcsetattr call failed with error ["
<< errno << ", " << strerror(errno) << std::endl;
}
// Flush received and unread data