thermostat: cleanup pid_engaged fn
This commit is contained in:
parent
de262b849d
commit
4cd650367d
|
@ -260,10 +260,7 @@ impl Thermostat{
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn pid_engaged(&mut self) -> bool {
|
pub fn pid_engaged(&mut self) -> bool {
|
||||||
if self.pid_ctrl_ch0.pid_engaged {
|
self.pid_ctrl_ch0.pid_engaged
|
||||||
return true;
|
|
||||||
}
|
|
||||||
false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn get_status_report(&mut self) -> StatusReport {
|
pub fn get_status_report(&mut self) -> StatusReport {
|
||||||
|
|
Loading…
Reference in New Issue