Fix mesh leveling menu

Fixed a typo that caused mesh leveling not to start
This commit is contained in:
David Ramiro 2018-11-17 22:56:38 +01:00
parent f9dc31d90d
commit 35de65ee1d
No known key found for this signature in database
GPG Key ID: 5B042737EBEEB736
3 changed files with 6 additions and 6 deletions

View File

@ -113,9 +113,9 @@
:10070000756465723A2000496E76616C6964206593
:10071000787472756465720A0043616E6E6F74203E
:10072000656E746572207375626469723A20004761
:100730003239205331005370656369616C204D6517
:100730003239205332005370656369616C204D6516
:100740006E753A204E657874204D65736820506F41
:10075000696E740A00473239205330005370656364
:10075000696E740A00473239205331005370656363
:1007600069616C204D656E753A2053746172742016
:100770004D657368204C6576656C696E670A004D3F
:1007800031343020533630005370656369616C201A

View File

@ -113,9 +113,9 @@
:10070000756465723A2000496E76616C6964206593
:10071000787472756465720A0043616E6E6F74203E
:10072000656E746572207375626469723A20004761
:100730003239205331005370656369616C204D6517
:100730003239205332005370656369616C204D6516
:100740006E753A204E657874204D65736820506F41
:10075000696E740A00473239205330005370656364
:10075000696E740A00473239205331005370656363
:1007600069616C204D656E753A2053746172742016
:100770004D657368204C6576656C696E670A004D3F
:1007800031343020533630005370656369616C201A

View File

@ -218,10 +218,10 @@ void AnycubicTFTClass::HandleSpecialMenu()
enqueue_and_echo_commands_P(PSTR("M140 S60"));
} else if (strcmp(SelectedDirectory, "<start mesh leveling>")==0) {
SERIAL_PROTOCOLLNPGM("Special Menu: Start Mesh Leveling");
enqueue_and_echo_commands_P(PSTR("G29 S0"));
enqueue_and_echo_commands_P(PSTR("G29 S1"));
} else if (strcmp(SelectedDirectory, "<next mesh point>")==0) {
SERIAL_PROTOCOLLNPGM("Special Menu: Next Mesh Point");
enqueue_and_echo_commands_P(PSTR("G29 S1"));
enqueue_and_echo_commands_P(PSTR("G29 S2"));
} else if (strcmp(SelectedDirectory, "<exit>")==0) {
SpecialMenu=false;
}