Host parseble output for M109, M190 and M303

Make the output of M105 more similar to Repetier.
Make the text-print pert of M105 an extra function to make it reusable. `print_heaterstates()`
Use `print_heaterstates()` in M019, M190 and M303
This commit is contained in:
AnHardt
2015-11-10 00:02:11 +01:00
committed by Richard Wackerbarth
parent fcceb98191
commit 57da1b8497
3 changed files with 87 additions and 72 deletions

View File

@ -351,6 +351,10 @@ extern uint8_t active_extruder;
extern void digipot_i2c_init();
#endif
#if HAS_TEMP_0 || HAS_TEMP_BED || ENABLED(HEATER_0_USES_MAX6675)
void print_heaterstates();
#endif
extern void calculate_volumetric_multipliers();
#endif //MARLIN_H