Fix wrong reporting of Thermostat Pwr_on status

This commit is contained in:
linuswck 2024-03-18 17:23:45 +08:00
parent dbbd438e92
commit 0a01d299bc
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ impl MAX1968 {
}
pub fn is_powered_on(&mut self) -> bool {
self.phy.shdn.is_set_low()
self.phy.shdn.is_set_high()
}
pub fn power_down(&mut self) {