Merge pull request #2059 from mkbel/fix_wizard_lay1_cal
Fix wizard lay1 cal
This commit is contained in:
commit
d2ff98c643
|
|
@ -978,7 +978,7 @@ void extr_adj(uint8_t extruder) //loading filament for SNMM
|
||||||
{
|
{
|
||||||
#ifndef SNMM
|
#ifndef SNMM
|
||||||
MmuCmd cmd = MmuCmd::L0 + extruder;
|
MmuCmd cmd = MmuCmd::L0 + extruder;
|
||||||
if (cmd > MmuCmd::L4)
|
if (extruder > (MmuCmd::L4 - MmuCmd::L0))
|
||||||
{
|
{
|
||||||
printf_P(PSTR("Filament out of range %d \n"),extruder);
|
printf_P(PSTR("Filament out of range %d \n"),extruder);
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
|
|
@ -4798,6 +4798,7 @@ static void lcd_wizard_load()
|
||||||
if (mmu_enabled)
|
if (mmu_enabled)
|
||||||
{
|
{
|
||||||
lcd_show_fullscreen_message_and_wait_P(_i("Please insert PLA filament to the first tube of MMU, then press the knob to load it."));////c=20 r=8
|
lcd_show_fullscreen_message_and_wait_P(_i("Please insert PLA filament to the first tube of MMU, then press the knob to load it."));////c=20 r=8
|
||||||
|
tmp_extruder = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue