From f6767b147bd6eb163bbebf900357c875d4cbb2e0 Mon Sep 17 00:00:00 2001 From: linuswck Date: Wed, 20 Dec 2023 14:48:47 +0800 Subject: [PATCH] Fix typo in MAX1968 driver power_down fn --- src/thermostat/max1968.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thermostat/max1968.rs b/src/thermostat/max1968.rs index 7db78c6..0014a17 100644 --- a/src/thermostat/max1968.rs +++ b/src/thermostat/max1968.rs @@ -144,7 +144,7 @@ impl MAX1968 { } pub fn power_down(&mut self) { - let _ = self.shdn.set_high(); + let _ = self.shdn.set_low(); } pub fn power_up(&mut self) {