Add TODO in case A31 - Adjust all Probe Points
This commit is contained in:
@@ -1608,10 +1608,13 @@ void AnycubicTouchscreenClass::RenderCurrentFolder(uint16_t selectedNumber) {
|
|||||||
|
|
||||||
else {
|
else {
|
||||||
if (CodeSeen('S')) { // Set offset (adjusts all points by value)
|
if (CodeSeen('S')) { // Set offset (adjusts all points by value)
|
||||||
|
// TODO: Is this the correct value? Old Code:
|
||||||
|
// int8_t tokenpos = FindToken('S');
|
||||||
|
// if (tokenpos >= 0) {
|
||||||
|
// float Zshift = atof(&panel_command[tokenpos+1]);
|
||||||
|
|
||||||
float Zshift = CodeValue();
|
float Zshift = CodeValue();
|
||||||
setSoftEndstopState(false); // disable endstops
|
setSoftEndstopState(false);
|
||||||
// Allow temporary Z position nudging during print
|
|
||||||
// From the leveling panel use the all points UI to adjust the print pos.
|
|
||||||
if (isPrinting()) {
|
if (isPrinting()) {
|
||||||
#if ENABLED(ANYCUBIC_TFT_DEBUG)
|
#if ENABLED(ANYCUBIC_TFT_DEBUG)
|
||||||
SERIAL_ECHOLNPGM("Change Zoffset from:", live_Zoffset, " to ", live_Zoffset + Zshift);
|
SERIAL_ECHOLNPGM("Change Zoffset from:", live_Zoffset, " to ", live_Zoffset + Zshift);
|
||||||
|
Reference in New Issue
Block a user