✨ Autoreport Redundant Sensor option (#24014)
This commit is contained in:
parent
21c838cb1b
commit
a6ce9bf559
@ -3745,6 +3745,9 @@
|
|||||||
* Auto-report temperatures with M155 S<seconds>
|
* Auto-report temperatures with M155 S<seconds>
|
||||||
*/
|
*/
|
||||||
#define AUTO_REPORT_TEMPERATURES
|
#define AUTO_REPORT_TEMPERATURES
|
||||||
|
#if ENABLED(AUTO_REPORT_TEMPERATURES) && TEMP_SENSOR_REDUNDANT
|
||||||
|
//#define AUTO_REPORT_REDUNDANT // Include the "R" sensor in the auto-report
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Auto-report position with M154 S<seconds>
|
* Auto-report position with M154 S<seconds>
|
||||||
|
@ -3911,7 +3911,10 @@ void Temperature::isr() {
|
|||||||
|
|
||||||
#if ENABLED(AUTO_REPORT_TEMPERATURES)
|
#if ENABLED(AUTO_REPORT_TEMPERATURES)
|
||||||
AutoReporter<Temperature::AutoReportTemp> Temperature::auto_reporter;
|
AutoReporter<Temperature::AutoReportTemp> Temperature::auto_reporter;
|
||||||
void Temperature::AutoReportTemp::report() { print_heater_states(active_extruder); SERIAL_EOL(); }
|
void Temperature::AutoReportTemp::report() {
|
||||||
|
print_heater_states(active_extruder OPTARG(HAS_TEMP_REDUNDANT, ENABLED(AUTO_REPORT_REDUNDANT)));
|
||||||
|
SERIAL_EOL();
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if HAS_HOTEND && HAS_STATUS_MESSAGE
|
#if HAS_HOTEND && HAS_STATUS_MESSAGE
|
||||||
|
Loading…
Reference in New Issue
Block a user