From 39e2e116d095dbd08cb327d54b0c7bfd721d5a12 Mon Sep 17 00:00:00 2001 From: nakarlsson Date: Thu, 11 May 2017 08:22:43 +0200 Subject: [PATCH] Handled framgmented SDO rely We need to trigger the application protocol handlers if we got any ongoing transfers --- soes/esc.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/soes/esc.c b/soes/esc.c index 2628a66..e3906ba 100644 --- a/soes/esc.c +++ b/soes/esc.c @@ -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; }