1
0
forked from fsfw/fsfw

fdir update

This commit is contained in:
2020-08-08 13:28:59 +02:00
parent 3905b72b08
commit 6b4fa0cc04
4 changed files with 60 additions and 32 deletions

View File

@ -28,8 +28,10 @@ protected:
NONE, RECOVERY_ONGOING, DEVICE_MIGHT_BE_OFF, AWAIT_SHUTDOWN
};
FDIRState fdirState;
bool hasPowerConfirmation = false;
MessageQueueId_t powerConfirmation;
static object_id_t powerConfirmationId;
// TODO: Are those hardcoded value? How can they be changed.
static const uint32_t MAX_REBOOT = 1;
static const uint32_t REBOOT_TIME_MS = 180000;
static const uint32_t MAX_STRANGE_REPLIES = 10;