From 87f430fdee6e95ad9d2ed8e8eb9a14bcc710f629 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 1 Sep 2022 16:58:51 +0200 Subject: [PATCH] some bugfixes for save table feature --- mission/devices/GomspaceDeviceHandler.cpp | 4 ++++ tmtc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/mission/devices/GomspaceDeviceHandler.cpp b/mission/devices/GomspaceDeviceHandler.cpp index 5ae676e4..197195e6 100644 --- a/mission/devices/GomspaceDeviceHandler.cpp +++ b/mission/devices/GomspaceDeviceHandler.cpp @@ -131,6 +131,8 @@ ReturnValue_t GomspaceDeviceHandler::buildCommandFromCommand(DeviceCommandId_t d } rawPacket = cspPacket; rawPacketLen = sizeof(GOMSPACE::TableInfo); + cspCookie->setCspPort(CspPorts::P60_PORT_RPARAM_ENUM); + cspCookie->setRequest(SpecialRequestTypes::SAVE_TABLE, 0); rememberCommandId = deviceCommand; break; } @@ -146,6 +148,8 @@ ReturnValue_t GomspaceDeviceHandler::buildCommandFromCommand(DeviceCommandId_t d info->targetTable = info->sourceTable + 4; rawPacket = cspPacket; rawPacketLen = sizeof(GOMSPACE::TableInfo); + cspCookie->setCspPort(CspPorts::P60_PORT_RPARAM_ENUM); + cspCookie->setRequest(SpecialRequestTypes::SAVE_TABLE, 0); rememberCommandId = deviceCommand; break; } diff --git a/tmtc b/tmtc index abecbe44..e162e5c5 160000 --- a/tmtc +++ b/tmtc @@ -1 +1 @@ -Subproject commit abecbe44016313f1b51a29d1358fccb9f541d542 +Subproject commit e162e5c51b0bf08b2018e4169a07eed1e4f7eacb