This commit is contained in:
Knutwurst
2022-01-22 22:13:03 +01:00
parent f041be8338
commit c8ffbe769b
2 changed files with 3 additions and 2 deletions

View File

@@ -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

View File

@@ -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