Seq Count Persistent + MSG type counter #711
@@ -1222,6 +1222,10 @@ ReturnValue_t CoreController::actionReboot(const uint8_t *data, size_t size) {
|
|||||||
|
|
||||||
ReturnValue_t CoreController::gracefulShutdownTasks(xsc::Chip chip, xsc::Copy copy,
|
ReturnValue_t CoreController::gracefulShutdownTasks(xsc::Chip chip, xsc::Copy copy,
|
||||||
bool &protOpPerformed) {
|
bool &protOpPerformed) {
|
||||||
|
// Store both sequence counters persistently.
|
||||||
|
core::SAVE_CFDP_SEQUENCE_COUNT = true;
|
||||||
|
core::SAVE_PUS_SEQUENCE_COUNT = true;
|
||||||
|
|
||||||
sdcMan->setBlocking(true);
|
sdcMan->setBlocking(true);
|
||||||
sdcMan->markUnusable();
|
sdcMan->markUnusable();
|
||||||
// Wait two seconds to ensure no one uses the SD cards
|
// Wait two seconds to ensure no one uses the SD cards
|
||||||
|
Reference in New Issue
Block a user