countdown based reply handling
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good

This commit is contained in:
Robin Müller 2022-07-08 17:11:21 +02:00
parent fc639a3e3f
commit 303f538076
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC

View File

@ -122,9 +122,12 @@ void ScexDeviceHandler::fillCommandAndReplyMap() {
insertInCommandAndReplyMap(scex::Cmds::TEMP_CMD, 3);
insertInCommandAndReplyMap(scex::Cmds::EXP_STATUS_CMD, 3);
insertInCommandMap(scex::Cmds::ALL_CELLS_CMD);
insertInCommandMap(scex::Cmds::ONE_CELL);
insertInCommandMap(scex::Cmds::FRAM);
insertInCommandAndReplyMap(scex::Cmds::ALL_CELLS_CMD, 0, nullptr, 0, false, false,
DeviceHandlerIF::UNKNOWN_DEVICE_REPLY, &finishCountdown);
insertInCommandAndReplyMap(scex::Cmds::ONE_CELL, 0, nullptr, 0, false, false,
DeviceHandlerIF::UNKNOWN_DEVICE_REPLY, &finishCountdown);
insertInCommandAndReplyMap(scex::Cmds::FRAM, 0, nullptr, 0, false, false,
DeviceHandlerIF::UNKNOWN_DEVICE_REPLY, &finishCountdown);
insertInReplyMap(scex::Cmds::ERROR_REPLY, 3);
}