Fix Manual Bed Leveling with multiple extruders (#16688)

This commit is contained in:
Jason Smith
2020-01-27 13:57:22 -08:00
committed by Scott Lahteine
parent 8bd6b60a01
commit 131acf304b
2 changed files with 1 additions and 5 deletions

View File

@ -119,7 +119,7 @@ void _menu_temp_filament_op(const PauseMode mode, const int8_t extruder) {
SUBMENU_N_P(s, msg, []{ _menu_temp_filament_op(PAUSE_MODE_CHANGE_FILAMENT, MenuItemBase::itemIndex); });
else {
ACTION_ITEM_N_P(s, msg, []{
char cmd[12];
char cmd[13];
sprintf_P(cmd, PSTR("M600 B0 T%i"), int(MenuItemBase::itemIndex));
lcd_enqueue_one_now(cmd);
});