PTME rework reset handling #542

Merged
muellerr merged 12 commits from ptme_rework_reset_handling into develop 2023-03-31 17:26:53 +02:00
3 changed files with 0 additions and 7 deletions
Showing only changes of commit e0f94039b4 - Show all commits

View File

@ -8,7 +8,6 @@ PersistentSingleTmStoreTask::PersistentSingleTmStoreTask(
object_id_t objectId, StorageManagerIF& ipcStore, PersistentTmStoreWithTmQueue& tmStore,
VirtualChannel& channel, Event eventIfDumpDone, Event eventIfCancelled, SdCardMountedIF& sdcMan)
: TmStoreTaskBase(objectId, ipcStore, channel, sdcMan),
modeHelper(this),
storeWithQueue(tmStore),
dumpContext(eventIfDumpDone, eventIfCancelled) {}

View File

@ -17,7 +17,6 @@ class PersistentSingleTmStoreTask : public TmStoreTaskBase, public ExecutableObj
ReturnValue_t performOperation(uint8_t opCode) override;
private:
ModeHelper modeHelper;
PersistentTmStoreWithTmQueue& storeWithQueue;
DumpContext dumpContext;
Countdown tcHandlingCd = Countdown(400);

View File

@ -99,10 +99,6 @@ ReturnValue_t SyrlinksHandler::buildNormalDeviceCommand(DeviceCommandId_t* id) {
}
ReturnValue_t SyrlinksHandler::buildTransitionDeviceCommand(DeviceCommandId_t* id) {
if (transitionCommandPending) {
return NOTHING_TO_SEND;
}
transitionCommandPending = true;
switch (internalState) {
case InternalState::ENABLE_TEMPERATURE_PROTECTION: {
*id = syrlinks::WRITE_LCL_CONFIG;
@ -129,7 +125,6 @@ ReturnValue_t SyrlinksHandler::buildTransitionDeviceCommand(DeviceCommandId_t* i
return buildCommandFromCommand(*id, nullptr, 0);
}
default: {
transitionCommandPending = false;
break;
}
}