Add M412 to enable/disable filament runout detection (#12406)

This commit is contained in:
Scott Lahteine authored and GitHub committed 2018-11-12 21:29:46 -06:00
1 parent a163c89c6a
commit 143b2896e0
4 files changed
+56 -2

No files matched your search

+4
View File
@@ -568,6 +568,10 @@ void GcodeSuite::process_parsed_command(
case 407: M407(); break; // M407: Display measured filament diameter
#endif
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
case 412: M412(); break; // M412: Enable/Disable filament runout detection
#endif
#if HAS_LEVELING
case 420: M420(); break; // M420: Enable/Disable Bed Leveling
#endif