reverted change
This commit is contained in:
parent
420ea6f836
commit
05181ce873
@ -55,19 +55,7 @@ void ActionHelper::setQueueToUse(MessageQueueIF* queue) {
|
|||||||
|
|
||||||
void ActionHelper::prepareExecution(MessageQueueId_t commandedBy,
|
void ActionHelper::prepareExecution(MessageQueueId_t commandedBy,
|
||||||
ActionId_t actionId, store_address_t dataAddress) {
|
ActionId_t actionId, store_address_t dataAddress) {
|
||||||
if(ipcStore == nullptr) {
|
const uint8_t* dataPtr = NULL;
|
||||||
#if FSFW_VERBOSE_LEVEL >= 1
|
|
||||||
#if FSFW_CPP_OSTREAM_ENABLED == 1
|
|
||||||
sif::warning << "ActionHelper::prepareExecution: IPC Store not set. Call initialize first"
|
|
||||||
<< std::endl;
|
|
||||||
#else
|
|
||||||
sif::printWarning("ActionHelper::prepareExecution: "
|
|
||||||
"IPC Store not set. Call initialize first\n");
|
|
||||||
#endif
|
|
||||||
#endif /* FSFW_VERBOSE_LEVEL >= 1 */
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
const uint8_t* dataPtr = nullptr;
|
|
||||||
size_t size = 0;
|
size_t size = 0;
|
||||||
ReturnValue_t result = ipcStore->getData(dataAddress, &dataPtr, &size);
|
ReturnValue_t result = ipcStore->getData(dataAddress, &dataPtr, &size);
|
||||||
if (result != HasReturnvaluesIF::RETURN_OK) {
|
if (result != HasReturnvaluesIF::RETURN_OK) {
|
||||||
|
Loading…
Reference in New Issue
Block a user