thermostat: cleanup pid_engaged fn

This commit is contained in:
linuswck 2024-02-05 15:14:51 +08:00
parent de262b849d
commit 4cd650367d
1 changed files with 1 additions and 4 deletions

View File

@ -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 {