diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index 28a52ca4e0..83152e06be 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -16,8 +16,8 @@ //#define MachineCR10 //#define MachineCR10S //#define MachineCR10SPro // Graphics LCD Requires soldering R64 and R66 -#define MachineCRX -//#define MachineCR10Max +//#define MachineCRX +#define MachineCR10Max //#define MachineS4 //#define MachineS5 @@ -36,8 +36,8 @@ //#define ForceCRXDisplay #define Force10SProDisplay //#define AddonFilSensor //Adds a filamnt runout sensor to the CR20 or Ender 4 -#define lerdgeFilSensor //Using lerdge filament sensor, which is opposite polarity to stock -#define DualFilSensors //Using dual filament sensors on XMax and YMAX +//#define lerdgeFilSensor //Using lerdge filament sensor, which is opposite polarity to stock +//#define DualFilSensors //Using dual filament sensors on XMax and YMAX //#define SKR13 // 32 bit board - assumes 2208 drivers //#define SKR13_2209 //#define SKR13_UART // Configure SKR board with drivers in UART mode diff --git a/Marlin/src/lcd/extensible_ui/lib/Creality_DWIN.cpp b/Marlin/src/lcd/extensible_ui/lib/Creality_DWIN.cpp index 204940a19a..7d49aab336 100644 --- a/Marlin/src/lcd/extensible_ui/lib/Creality_DWIN.cpp +++ b/Marlin/src/lcd/extensible_ui/lib/Creality_DWIN.cpp @@ -371,7 +371,7 @@ int RTSSHOW::RTS_RecData() } continue; } - delay_ms(10); + delay_ms(2); recnum++; } @@ -1357,7 +1357,12 @@ void RTSSHOW::RTS_HandleData() { if (FilementStatus[0] == 2) // check filements status during printing { - if( (getActiveTool() == E0 && READ(FIL_RUNOUT_PIN) != FIL_RUNOUT_INVERTING) || (getActiveTool() == E1 && READ(FIL_RUNOUT2_PIN) != FIL_RUNOUT_INVERTING)) { + #if NUM_RUNOUT_SENSORS > 1 + if( (getActiveTool() == E0 && READ(FIL_RUNOUT_PIN) != FIL_RUNOUT_INVERTING) || (getActiveTool() == E1 && READ(FIL_RUNOUT2_PIN) != FIL_RUNOUT_INVERTING)) { + #else + if( getActiveTool() == E0 && READ(FIL_RUNOUT_PIN) != FIL_RUNOUT_INVERTING) { + #endif + setHostResponse(1); //Send Resume host prompt command RTS_SndData(1 + CEIconGrap, IconPrintstatus); @@ -1737,7 +1742,7 @@ void onPrintTimerStarted() PrinterStatusKey[1] = 3; InforShowStatus = true; rtscheck.RTS_SndData(4 + CEIconGrap, IconPrintstatus); - delay_ms(10); + delay_ms(1); rtscheck.RTS_SndData(ExchangePageBase + 53, ExchangepageAddr); CardCheckStatus[0] = 1; // open the key of checking card in printing }