Add E in the priority list

This way we're assured of the order in which these parameters occur, even though the firmware doesn't care about it. It's easier to read though.
This commit is contained in:
Ghostkeeper 2018-02-26 09:54:07 +01:00
parent 5160373580
commit a7e1910711
No known key found for this signature in database
GPG key ID: 5252B696FB5E7C7A

View file

@ -137,7 +137,7 @@ class Script:
#Write the new g-code line.
result = ""
priority_parameters = ["G", "M", "T", "S", "F", "X", "Y", "Z"] #First some parameters that get priority. In order of priority!
priority_parameters = ["G", "M", "T", "S", "F", "X", "Y", "Z", "E"] #First some parameters that get priority. In order of priority!
for priority_key in priority_parameters:
if priority_key in kwargs:
if result != "":