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

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

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