various bugfixes and improvements
This commit is contained in:
@ -19,6 +19,7 @@ public:
|
||||
CANCEL_RQ,
|
||||
RESTART_RQ,
|
||||
TIMEOUT,
|
||||
HUNG_UP,
|
||||
FAULT
|
||||
};
|
||||
|
||||
@ -32,7 +33,7 @@ private:
|
||||
|
||||
bool obswRunning = false;
|
||||
bool watchdogRunning = false;
|
||||
bool printTimeoutLatch = false;
|
||||
bool printNotRunningLatch = false;
|
||||
std::array<uint8_t, 64> buf;
|
||||
States state = States::NOT_STARTED;
|
||||
|
||||
@ -41,7 +42,7 @@ private:
|
||||
LoopResult parseCommandByte(ssize_t readLen);
|
||||
|
||||
int performRunningOperation();
|
||||
int performTimeoutOperation();
|
||||
int performNotRunningOperation(LoopResult type);
|
||||
int performSuspendOperation();
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user