LCD menu - how to jump to parent-parent?

26 views
Skip to first unread message

karabas3

unread,
Jul 27, 2017, 10:00:12 AM7/27/17
to Smoothie-Dev
I want to return to Watch_screen when click on Prepare->Preheat (f.e.)
I made a workaround with new Watch_screen instance, but i think it is incorrect way and it takes time.
or f.e. when I send M502 I need to reboot.

    case 9: send_command("M502"); ( reset to defaults )
                     THEPANEL->enter_screen(this->watch_screen );
                     send_command("M117 REBOOTING...\nreset");
                     break;       

It works but creating new Watch_screen instance takes time.
How to return to far upper parents correctly?

Reply all
Reply to author
Forward
0 new messages