Handled framgmented SDO rely

We need to trigger the application protocol handlers if we got any
ongoing transfers
pull/21/merge
nakarlsson 2017-05-11 08:22:43 +02:00
parent c020d4ba4a
commit 39e2e116d0
1 changed files with 5 additions and 0 deletions

View File

@ -506,6 +506,11 @@ uint8_t ESC_mbxprocess (void)
MBXcontrol[ESCvar.mbxoutpost].state = MBXstate_backup;
ESCvar.mbxbackup = ESCvar.mbxoutpost;
ESCvar.mbxoutpost = 0;
/* Do we have any ongoing protocol transfers, return 1 */
if(ESCvar.xoe > 0)
{
return 1;
}
return 0;
}