|
IF i <> CMD_N OR CANSDO_DATA[0].0 THEN |
|
(* either ran out of buffer or segmented transfer is complete *) |
|
ActXfr_Dn := FALSE; |
|
Request_BUFFEROVERRUN := i <> CMD_N; |
The assignment of Request_BUFFEROVERRUN (line 120) should be moved before line 117, and then its result utilized in the IF's condition.
CANopen_SDOSVR_ST/SDO SVR Protocol Processor.ST
Lines 117 to 120 in 30893d8
The assignment of
Request_BUFFEROVERRUN(line 120) should be moved before line 117, and then its result utilized in theIF's condition.