Extracting temperatures is done when gcode is appended.
If this is a larger block (e.g. from disk) containing multiple heat commands with different temperatures, only the first will be extracted instead of the last one.
If the extract call would be deferred to the point when lines of gcode are actually sent to the printer, this issue would be resolved because each line would be parsed individually.
See #12.
Extracting temperatures is done when gcode is appended. If this is a larger block (e.g. from disk) containing multiple heat commands with different temperatures, only the first will be extracted instead of the last one.
If the extract call would be deferred to the point when lines of gcode are actually sent to the printer, this issue would be resolved because each line would be parsed individually. See #12.