heater: Support generic gcode_id registration for sensors

Support reading a "gcode_id" parameter from heater/sensor config
sections.

Signed-off-by: Douglas Hammond <wizhippo@gmail.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Douglas Hammond
2019-02-25 22:30:13 -05:00
committed by Kevin O'Connor
parent 34209e6189
commit 3887ad4fce
4 changed files with 17 additions and 11 deletions

View File

@@ -587,6 +587,9 @@
#pid_integral_max:
# The maximum "windup" the integral term may accumulate. The default
# is to use the same value as max_power.
#gcode_id:
# If set, the temperature will be reported in M105 queries using the
# given id. The default is to not report the temperature via M105.
# Additional micro-controllers (one may define any number of sections