Fix: set flag in datIf_cycleSend()
This commit is contained in:
parent
75b597586f
commit
f4be010e1a
@ -107,6 +107,7 @@ char T_datif::datif_cycleSend()
|
||||
|
||||
if (check4FDshortCmd())
|
||||
{
|
||||
cycl_running=1;
|
||||
b_ret=sendFDcmd_get(&nextWrCmd, &nextRdCmd, &blockNum, &dat1, &dat2, &dat3, &dat4);
|
||||
if (b_ret)
|
||||
{
|
||||
@ -115,10 +116,12 @@ char T_datif::datif_cycleSend()
|
||||
myDCIF->setUserReadData(nextRdCmd);
|
||||
myDCIF->sendUserData(selectedSlaveAddr);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (check4FDlongCmd())
|
||||
{
|
||||
cycl_running=1;
|
||||
b_ret=longFDcmd_get(&nextWrCmd, &nextRdCmd, &blockNum, &length, data);
|
||||
if (b_ret)
|
||||
{
|
||||
@ -126,6 +129,7 @@ char T_datif::datif_cycleSend()
|
||||
myDCIF->setUserReadData(nextRdCmd);
|
||||
myDCIF->sendUserData(selectedSlaveAddr);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
// direct commands have highest prio (setting OUTPUTS)
|
||||
|
Loading…
Reference in New Issue
Block a user