fix autostart failure if in wrong directory

This commit is contained in:
Bernhard committed 2011-12-26 09:20:53 +01:00
1 parent 396270a0de
commit 729cde4475
3 files changed
+12 -1

No files matched your search

+1 -1
View File
@@ -467,7 +467,7 @@ void MainMenu::showPrepare()
MENUITEM( lcdprintPGM(" Main \003") , BLOCK;status=Main_Menu;beepshort(); ) ;
break;
case ItemP_autostart:
MENUITEM( lcdprintPGM(" Autostart") , BLOCK;card.lastnr=0;card.checkautostart(true);beepshort(); ) ;
MENUITEM( lcdprintPGM(" Autostart") , BLOCK;card.lastnr=0;card.setroot();card.checkautostart(true);beepshort(); ) ;
break;
case ItemP_disstep:
MENUITEM( lcdprintPGM(" Disable Steppers") , BLOCK;enquecommand("M84");beepshort(); ) ;