better reset handling
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good

This commit is contained in:
2023-04-14 19:42:11 +02:00
parent 8cf9dd9136
commit e023220be4
2 changed files with 27 additions and 18 deletions

View File

@ -171,6 +171,7 @@ class PdecHandler : public SystemObject,
Countdown genericCheckCd = Countdown(IRQ_TIMEOUT_MS);
object_id_t tcDestinationId;
int irqFd = 0;
AcceptsTelecommandsIF* tcDestination = nullptr;
@ -243,8 +244,8 @@ class PdecHandler : public SystemObject,
ReturnValue_t polledOperation();
ReturnValue_t irqOperation();
ReturnValue_t handleInitState();
void openIrqFile(int* fd);
ReturnValue_t checkAndHandleIrqs(int fd, uint32_t& info);
void openIrqFile();
ReturnValue_t checkAndHandleIrqs(uint32_t& info);
uint32_t readFar();
@ -366,6 +367,7 @@ class PdecHandler : public SystemObject,
void pdecResetNoInit();
ReturnValue_t postResetOperation();
void initializeReset();
void initFailedHandler(ReturnValue_t reason);