|
|
|
|
687
|
// BLTouch Self-Test and Reset
|
687
|
// BLTouch Self-Test and Reset
|
688
|
//
|
688
|
//
|
689
|
#if ENABLED(BLTOUCH)
|
689
|
#if ENABLED(BLTOUCH)
|
690
|
- MENU_ITEM(gcode, MSG_BLTOUCH_SELFTEST, PSTR("M280 P" STRINGIFY(Z_PROBE_SERVO_NR) " S" STRINGIFY(BLTOUCH_SELFTEST)));
|
|
|
|
|
690
|
+ MENU_ITEM(function, MSG_BLTOUCH_SELFTEST, []{ bltouch._selftest(); ui.refresh(); });
|
691
|
if (!endstops.z_probe_enabled && bltouch.triggered())
|
691
|
if (!endstops.z_probe_enabled && bltouch.triggered())
|
692
|
- MENU_ITEM(gcode, MSG_BLTOUCH_RESET, PSTR("M280 P" STRINGIFY(Z_PROBE_SERVO_NR) " S" STRINGIFY(BLTOUCH_RESET)));
|
|
|
|
|
692
|
+ MENU_ITEM(function, MSG_BLTOUCH_RESET, []{ bltouch._reset(); ui.refresh(); });
|
693
|
#endif
|
693
|
#endif
|
694
|
|
694
|
|
695
|
#if ENABLED(SD_FIRMWARE_UPDATE)
|
695
|
#if ENABLED(SD_FIRMWARE_UPDATE)
|