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
USBSlave rename Start_Slave_Service
-
- 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
“Integrity is doing the right thing, even when no one is watching.”
― C.S. Lewis
― C.S. Lewis
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel