M303 thermal runaway protection

This commit is contained in:
Scott Lahteine
2017-11-03 03:24:19 -05:00
parent 6827e243a0
commit 2f9e42feb9
2 changed files with 61 additions and 19 deletions

View File

@ -429,7 +429,7 @@ class Temperature {
* Perform auto-tuning for hotend or bed in response to M303
*/
#if HAS_PID_HEATING
static void PID_autotune(float temp, int hotend, int ncycles, bool set_result=false);
static void PID_autotune(const float temp, const int8_t hotend, const int8_t ncycles, const bool set_result=false);
#endif
/**