compiles again
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:
@ -51,6 +51,7 @@ void FreshMpsocHandler::performDeviceOperation(uint8_t opCode) {
|
||||
}
|
||||
|
||||
void FreshMpsocHandler::performDefaultDeviceOperation() {
|
||||
handleQueue();
|
||||
if (transitionActive) {
|
||||
if (targetMode == MODE_ON or targetMode == MODE_NORMAL) {
|
||||
handleTransitionToOn();
|
||||
@ -99,7 +100,7 @@ void FreshMpsocHandler::performDefaultDeviceOperation() {
|
||||
}
|
||||
|
||||
ReturnValue_t FreshMpsocHandler::handleCommandMessage(CommandMessage* message) {
|
||||
return FreshDeviceHandlerBase::handleCommandMessage(message);
|
||||
return returnvalue::FAILED;
|
||||
}
|
||||
|
||||
ReturnValue_t FreshMpsocHandler::initialize() {
|
||||
|
@ -29,9 +29,10 @@ class SerialConfig : public CookieIF {
|
||||
* One stop bit
|
||||
*/
|
||||
SerialConfig(std::string deviceFile, UartBaudRate baudrate, size_t maxReplyLen,
|
||||
UartModes uartMode = UartModes::NON_CANONICAL);
|
||||
UartModes uartMode = UartModes::NON_CANONICAL)
|
||||
: deviceFile(deviceFile), baudrate(baudrate), maxReplyLen(maxReplyLen), uartMode(uartMode) {}
|
||||
|
||||
virtual ~SerialConfig();
|
||||
virtual ~SerialConfig() = default;
|
||||
|
||||
UartBaudRate getBaudrate() const { return baudrate; }
|
||||
size_t getMaxReplyLen() const { return maxReplyLen; }
|
||||
@ -59,11 +60,10 @@ class SerialConfig : public CookieIF {
|
||||
void setOneStopBit() { stopBits = StopBits::ONE_STOP_BIT; }
|
||||
|
||||
private:
|
||||
const object_id_t handlerId;
|
||||
std::string deviceFile;
|
||||
const UartModes uartMode;
|
||||
UartBaudRate baudrate;
|
||||
size_t maxReplyLen = 0;
|
||||
const UartModes uartMode;
|
||||
Parity parity = Parity::NONE;
|
||||
BitsPerWord bitsPerWord = BitsPerWord::BITS_8;
|
||||
StopBits stopBits = StopBits::ONE_STOP_BIT;
|
||||
|
Reference in New Issue
Block a user