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

@ -347,7 +347,7 @@ void menu_configuration() {
#endif
#if ENABLED(FILAMENT_RUNOUT_SENSOR)
MENU_ITEM_EDIT(bool, MSG_RUNOUT_SENSOR_ENABLE, &runout.enabled);
MENU_ITEM_EDIT_CALLBACK(bool, MSG_RUNOUT_SENSOR_ENABLE, &runout.enabled, runout.reset);
#endif
#if DISABLED(SLIM_LCD_MENUS)