Thanks a lot. Will try it out!
Posts made by adambx
-
RE: Mutiple Motion Systems & Macro Conflicts in 3.5
-
RE: Mutiple Motion Systems & Macro Conflicts in 3.5
Hi @SumoSniper ,
I'm facing similar issues, but with a more complex macro structure with submacros modifying and checking global variables. I haven't investigated too deeply but have been able to get around all issues so far by adding some M598's. First randomly at the start of every macro that is being called and at various points inside the macros. I settled on placing M598's after calls to macros that could modify a global variable that i will need later on and before i check/use a global variable that could have been modified by a macro.Due to time constraints i could not investigate too far or boil it down to test cases, but i figured it's because of the deferred queue. Now macros called from jobs behave just as theones being called when no job is running.
I hope to have some time to read up more on this topic at some point. It would also help if the documentation had some examples of what could go wrong for people using only 1 motion system but trip over some problems with macros, meta commands and queueing etc.
Hope my "advice" could help out
Cheers -
FTP does not properly respond to "LIST -a"
I am using wget to download files from the SD Card using FTP. worked so far for 3.4, but has stopped working in 3.5.
After some research it turns out that the newly introduced feature of supporting LIST <dir> does not take into account the -a flag that is sent by many FTP clients including wget.there is a discussion here:
https://savannah.gnu.org/bugs/?59954The relevant change is here. Should an error be returned on LIST -a?
https://github.com/Duet3D/RepRapFirmware/commit/7e11027b22a0720d756369393bf96d94a2c01b9a#diff-1608ecf6e91dd6a71fa80c16d6c79cc2e79f5b6ed17ab92a97b8fd8de96d1dd4R675-R678i guess if an error is returned, wget will retry with "LIST", that's the usual behaviour.
debug output of wget looks like this:
230 Login successful. Logged in! ==> SYST ... --> SYST 215 UNIX Type: L8 done. UNIX TYPE L8: I know it and I will use "LIST -a" as standard list command
Cheers
Adam