diff --git a/Marlin/src/lcd/anycubic_touchscreen.cpp b/Marlin/src/lcd/anycubic_touchscreen.cpp index 2b957c54..3f1b740e 100755 --- a/Marlin/src/lcd/anycubic_touchscreen.cpp +++ b/Marlin/src/lcd/anycubic_touchscreen.cpp @@ -146,7 +146,6 @@ char _conv[8]; void setup_PowerOffPin() { #if ENABLED(KNUTWURST_4MAXP2) - #define POWER_OFF_PIN 21 SET_OUTPUT(POWER_OFF_PIN); WRITE(POWER_OFF_PIN,HIGH); #endif @@ -437,6 +436,8 @@ void AnycubicTouchscreenClass::StartPrint(){ } void AnycubicTouchscreenClass::PausePrint() { + HARDWARE_SERIAL_PROTOCOLPGM("J05");//j05 pausing + HARDWARE_SERIAL_ENTER(); #ifdef SDSUPPORT if (ai3m_pause_state < 2) { // is this a regular pause? card.pauseSDPrint(); // pause print regularly diff --git a/Marlin/src/pins/ramps/pins_RAMPS.h b/Marlin/src/pins/ramps/pins_RAMPS.h index 483616e5..7a1caab5 100755 --- a/Marlin/src/pins/ramps/pins_RAMPS.h +++ b/Marlin/src/pins/ramps/pins_RAMPS.h @@ -266,7 +266,7 @@ #define FILWIDTH_PIN 5 // Analog Input on AUX2 #endif -#if ENABLED(DKNUTWURST_4MAXP2) +#if ENABLED(KNUTWURST_4MAXP2) #ifndef POWER_OFF_PIN #define POWER_OFF_PIN 21 #endif