Skip to content

Optimization of Request_BUFFEROVERRUN assignment #7

Description

@msftrncs

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions