USBSlave rename Start_Slave_Service

Forum for suggestions regarding the next update / release of Flowcode

Moderators: Benj, Mods

Post Reply
kersing
Valued Contributor
Valued Contributor
Posts: 2045
Joined: Wed Aug 27, 2008 10:31 pm
Location: Netherlands
Has thanked: 553 times
Been thanked: 1081 times
Contact:

USBSlave rename Start_Slave_Service

Post by kersing »

Hi,

Suggestion to rename the Start_Slave_Service of the USBSlave component to Run_Slave_Service or something along those lines.

Start suggests (at least to me) a function spending a finite amount of time within the function. Looking at the code of Start_Slave_Service it becomes obvious it will not return until Stop_Slave_Service is called.

Best regards,

Jac
“Integrity is doing the right thing, even when no one is watching.”

― C.S. Lewis

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: USBSlave rename Start_Slave_Service

Post by Benj »

Hello Jac

A good suggestion, you are correct the function does not return unless then stop_slace_service macro is called.

I will find out how difficult it will be to allow for this macro name change to work with code imports from previous versions. If it's an easy task then I'll put your suggested change into V4.

Post Reply