Remove debug from Heat.cpp
This commit is contained in:
parent
fe0d5f38ee
commit
acbd556350
2 changed files with 2 additions and 0 deletions
2
Heat.cpp
2
Heat.cpp
|
@ -182,7 +182,9 @@ void PID::Spin()
|
||||||
if(!temperatureFault)
|
if(!temperatureFault)
|
||||||
platform->SetHeater(heater, result);
|
platform->SetHeater(heater, result);
|
||||||
|
|
||||||
|
#if 0 // debug
|
||||||
char buffer[100];
|
char buffer[100];
|
||||||
snprintf(buffer, ARRAY_SIZE(buffer), "Heat: e=%f, P=%f, I=%f, d=%f, r=%f\n", error, platform->PidKp(heater)*error, temp_iState, temp_dState, result);
|
snprintf(buffer, ARRAY_SIZE(buffer), "Heat: e=%f, P=%f, I=%f, d=%f, r=%f\n", error, platform->PidKp(heater)*error, temp_iState, temp_dState, result);
|
||||||
platform->Message(HOST_MESSAGE, buffer);
|
platform->Message(HOST_MESSAGE, buffer);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Binary file not shown.
Reference in a new issue