Add HAS_TEMP_SENSOR conditional
This commit is contained in:
@ -417,7 +417,7 @@ uint8_t Temperature::soft_pwm_amount[HOTENDS],
|
||||
|
||||
// Report heater states every 2 seconds
|
||||
if (ELAPSED(ms, next_temp_ms)) {
|
||||
#if HAS_TEMP_HOTEND || HAS_TEMP_BED
|
||||
#if HAS_TEMP_SENSOR
|
||||
print_heaterstates();
|
||||
SERIAL_EOL();
|
||||
#endif
|
||||
@ -2144,7 +2144,7 @@ void Temperature::isr() {
|
||||
ENABLE_TEMPERATURE_INTERRUPT(); //re-enable Temperature ISR
|
||||
}
|
||||
|
||||
#if HAS_TEMP_HOTEND || HAS_TEMP_BED
|
||||
#if HAS_TEMP_SENSOR
|
||||
|
||||
#include "../gcode/gcode.h"
|
||||
|
||||
@ -2251,4 +2251,4 @@ void Temperature::isr() {
|
||||
|
||||
#endif // AUTO_REPORT_TEMPERATURES
|
||||
|
||||
#endif // HAS_TEMP_HOTEND || HAS_TEMP_BED
|
||||
#endif // HAS_TEMP_SENSOR
|
||||
|
@ -564,7 +564,7 @@ class Temperature {
|
||||
|
||||
#endif // HEATER_IDLE_HANDLER
|
||||
|
||||
#if HAS_TEMP_HOTEND || HAS_TEMP_BED
|
||||
#if HAS_TEMP_SENSOR
|
||||
static void print_heaterstates(
|
||||
#if NUM_SERIAL > 1
|
||||
const int8_t port = -1
|
||||
|
Reference in New Issue
Block a user