This commit is contained in:
InsanityAutomation
2019-08-20 20:28:39 -04:00
parent f515f22313
commit cff4360621
2 changed files with 12 additions and 7 deletions
+4 -4
View File
@@ -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
@@ -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
}