I2C fatal error counter #496
@ -108,13 +108,12 @@ void CoreController::performControlOperation() {
|
||||
sdStateMachine();
|
||||
performMountedSdCardOperations();
|
||||
readHkData();
|
||||
<<<<<<< HEAD
|
||||
if(i2cErrors >= 5) {
|
||||
bool protOpPerformed = false;
|
||||
triggerEvent(I2C_UNAVAILABLE_REBOOT);
|
||||
gracefulShutdownTasks(CURRENT_CHIP, CURRENT_COPY, protOpPerformed);
|
||||
std::system("xsc_boot_copy -r");
|
||||
=======
|
||||
}
|
||||
if (shellCmdIsExecuting) {
|
||||
bool replyReceived = false;
|
||||
// TODO: We could read the data in the ring buffer and send it as an action data reply.
|
||||
@ -127,7 +126,6 @@ void CoreController::performControlOperation() {
|
||||
}
|
||||
successRecipient = MessageQueueIF::NO_QUEUE;
|
||||
}
|
||||
>>>>>>> origin/develop
|
||||
}
|
||||
opDivider5.checkAndIncrement();
|
||||
opDivider10.checkAndIncrement();
|
||||
|
Loading…
Reference in New Issue
Block a user