forked from M-Labs/kirdy
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 {
|
||||
if self.pid_ctrl_ch0.pid_engaged {
|
||||
return true;
|
||||
}
|
||||
false
|
||||
self.pid_ctrl_ch0.pid_engaged
|
||||
}
|
||||
|
||||
pub fn get_status_report(&mut self) -> StatusReport {
|
||||
|
|
Loading…
Reference in New Issue