Clean up autostart handling
This commit is contained in:
@ -894,19 +894,17 @@ void setup() {
|
||||
*
|
||||
* - Save or log commands to SD
|
||||
* - Process available commands (if not saving)
|
||||
* - Call heater manager
|
||||
* - Call inactivity manager
|
||||
* - Call endstop manager
|
||||
* - Call LCD update
|
||||
* - Call inactivity manager
|
||||
*/
|
||||
void loop() {
|
||||
|
||||
#if ENABLED(SDSUPPORT)
|
||||
card.checkautostart(false);
|
||||
#endif
|
||||
|
||||
for (;;) {
|
||||
|
||||
#if ENABLED(SDSUPPORT)
|
||||
card.checkautostart();
|
||||
#endif
|
||||
|
||||
#if ENABLED(SDSUPPORT) && ENABLED(ULTIPANEL)
|
||||
if (abort_sd_printing) {
|
||||
abort_sd_printing = false;
|
||||
|
Reference in New Issue
Block a user