File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -2067,13 +2067,19 @@ void Commands::processMCode(GCode *com) {
2067
2067
// Davinci specific
2068
2068
case 121 : // M121
2069
2069
Com::printF (PSTR (" Sensors: " ));
2070
+ #if defined(TOP_SENSOR_PIN)
2070
2071
Com::printF (PSTR (" Door " ));
2071
2072
Com::printF (READ (TOP_SENSOR_PIN) ? Com::tHSpace : Com::tLSpace);
2073
+ #endif
2074
+ #if defined(FIL_SENSOR1_PIN)
2072
2075
Com::printF (PSTR (" E0 " ));
2073
2076
Com::printF (READ (FIL_SENSOR1_PIN) ? Com::tHSpace : Com::tLSpace);
2077
+ #endif
2074
2078
#if NUM_EXTRUDER == 2
2079
+ #if defined(FIL_SENSOR1_PIN)
2075
2080
Com::printF (PSTR (" E1 " ));
2076
2081
Com::printF (READ (FIL_SENSOR2_PIN) ? Com::tHSpace : Com::tLSpace);
2082
+ #endif
2077
2083
#endif
2078
2084
Com::println ();
2079
2085
break ;
Original file line number Diff line number Diff line change @@ -1310,7 +1310,9 @@ STEPPER_CURRENT_CONTROL
1310
1310
#undef E1_PINS
1311
1311
#define E1_PINS
1312
1312
//Davinci Specific, second extruder pins are in sensitive pins
1313
+ #undef HEATER_2_PIN
1313
1314
#define HEATER_2_PIN -1
1315
+ #undef TEMP_2_PIN
1314
1316
#define TEMP_2_PIN -1
1315
1317
#endif
1316
1318
You can’t perform that action at this time.
0 commit comments