Cleanup, commentary of M303 pid tuning code

This commit is contained in:
Scott Lahteine 2018-01-03 04:06:07 -06:00
parent 36541d61ab
commit 01e3ccfd69
3 changed files with 42 additions and 50 deletions

View file

@ -453,7 +453,7 @@ class Temperature {
* Perform auto-tuning for hotend or bed in response to M303
*/
#if HAS_PID_HEATING
static void PID_autotune(const float temp, const int8_t hotend, const int8_t ncycles, const bool set_result=false);
static void PID_autotune(const float &target, const int8_t hotend, const int8_t ncycles, const bool set_result=false);
/**
* Update the temp manager when PID values change