Browse Source

Move host_autoreport() to manage_inactivity()

This makes autoreport work more consistently.
Yuri D'Elia 2 years ago
parent
commit
29322d4bf3
1 changed files with 3 additions and 3 deletions
  1. 3 3
      Firmware/Marlin_main.cpp

+ 3 - 3
Firmware/Marlin_main.cpp

@@ -1923,9 +1923,6 @@ void loop()
 	}
 #endif //TMC2130
 	mmu_loop();
-#if defined(AUTO_REPORT)
-    host_autoreport();
-#endif //AUTO_REPORT
 }
 
 #define DEFINE_PGM_READ_ANY(type, reader)       \
@@ -9909,6 +9906,9 @@ if(0)
   #endif
   check_axes_activity();
   mmu_loop();
+#if defined(AUTO_REPORT)
+  host_autoreport();
+#endif //AUTO_REPORT
 }
 
 void kill(const char *full_screen_message, unsigned char id)