forked from M-Labs/kirdy
Fix wrong reporting of Thermostat Pwr_on status
This commit is contained in:
parent
dbbd438e92
commit
0a01d299bc
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue