Bugfix for nozzle positioning via touchscreen, which was absolute instead of relative.
This commit is contained in:
@@ -38,6 +38,9 @@
|
|||||||
*/
|
*/
|
||||||
#define CONFIGURATION_H_VERSION 020005
|
#define CONFIGURATION_H_VERSION 020005
|
||||||
|
|
||||||
|
#define KNUTWURST_MEGAS
|
||||||
|
#define KNUTWURST_TMC
|
||||||
|
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
//============================= Getting Started =============================
|
//============================= Getting Started =============================
|
||||||
//===========================================================================
|
//===========================================================================
|
||||||
@@ -2354,5 +2357,3 @@
|
|||||||
#define ANYCUBIC_FILAMENT_RUNOUT_SENSOR
|
#define ANYCUBIC_FILAMENT_RUNOUT_SENSOR
|
||||||
//#define ANYCUBIC_TFT_DEBUG
|
//#define ANYCUBIC_TFT_DEBUG
|
||||||
|
|
||||||
#define KNUTWURST_MEGAS
|
|
||||||
#define KNUTWURST_TMC
|
|
||||||
|
@@ -1283,7 +1283,7 @@ void AnycubicTouchscreenClass::GetCommandFromTFT()
|
|||||||
if (CodeSeen('F')) // Set feedrate
|
if (CodeSeen('F')) // Set feedrate
|
||||||
movespeed = CodeValue();
|
movespeed = CodeValue();
|
||||||
|
|
||||||
queue.inject_P(PSTR("G91")); // relative coordinates
|
queue.enqueue_now_P(PSTR("G91")); // relative coordinates
|
||||||
|
|
||||||
if (CodeSeen('X')) // Move in X direction
|
if (CodeSeen('X')) // Move in X direction
|
||||||
{
|
{
|
||||||
@@ -1353,7 +1353,7 @@ void AnycubicTouchscreenClass::GetCommandFromTFT()
|
|||||||
}
|
}
|
||||||
queue.enqueue_one_now(value);
|
queue.enqueue_one_now(value);
|
||||||
}
|
}
|
||||||
queue.inject_P(PSTR("G90")); // absolute coordinates
|
queue.enqueue_now_P(PSTR("G90")); // absolute coordinates
|
||||||
}
|
}
|
||||||
HARDWARE_SERIAL_ENTER();
|
HARDWARE_SERIAL_ENTER();
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user