Fix Typo
This commit is contained in:
@@ -146,7 +146,6 @@ char _conv[8];
|
|||||||
void setup_PowerOffPin()
|
void setup_PowerOffPin()
|
||||||
{
|
{
|
||||||
#if ENABLED(KNUTWURST_4MAXP2)
|
#if ENABLED(KNUTWURST_4MAXP2)
|
||||||
#define POWER_OFF_PIN 21
|
|
||||||
SET_OUTPUT(POWER_OFF_PIN);
|
SET_OUTPUT(POWER_OFF_PIN);
|
||||||
WRITE(POWER_OFF_PIN,HIGH);
|
WRITE(POWER_OFF_PIN,HIGH);
|
||||||
#endif
|
#endif
|
||||||
@@ -437,6 +436,8 @@ void AnycubicTouchscreenClass::StartPrint(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
void AnycubicTouchscreenClass::PausePrint() {
|
void AnycubicTouchscreenClass::PausePrint() {
|
||||||
|
HARDWARE_SERIAL_PROTOCOLPGM("J05");//j05 pausing
|
||||||
|
HARDWARE_SERIAL_ENTER();
|
||||||
#ifdef SDSUPPORT
|
#ifdef SDSUPPORT
|
||||||
if (ai3m_pause_state < 2) { // is this a regular pause?
|
if (ai3m_pause_state < 2) { // is this a regular pause?
|
||||||
card.pauseSDPrint(); // pause print regularly
|
card.pauseSDPrint(); // pause print regularly
|
||||||
|
@@ -266,7 +266,7 @@
|
|||||||
#define FILWIDTH_PIN 5 // Analog Input on AUX2
|
#define FILWIDTH_PIN 5 // Analog Input on AUX2
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(DKNUTWURST_4MAXP2)
|
#if ENABLED(KNUTWURST_4MAXP2)
|
||||||
#ifndef POWER_OFF_PIN
|
#ifndef POWER_OFF_PIN
|
||||||
#define POWER_OFF_PIN 21
|
#define POWER_OFF_PIN 21
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user