Closed javiersanzsanchez closed 1 year ago
In the "stop" method there is a "tempLastStart=0" so after a manual or end filament "Stop" event, "if (tempLastStart == 0)" will be true
I think no... you set "tempLastStart = millis();" so it will never be zero after that, I mean the second if.
the code of the start method only needs to be executed once after a stop, the following times are redundant and have no effect
anyway, what issue is this condition causing you?
No, is not completed. This amateur programming practice is still present.
I'm not going to recode something that works no matter how amateurish you think it is
On strat method the condition "if (tempLastStart == 0)" will never be true do to "tempLastStart = millis();" on previous line.