diff --git a/pizzactrl/hal_serial.py b/pizzactrl/hal_serial.py index 86f35e9..041f530 100644 --- a/pizzactrl/hal_serial.py +++ b/pizzactrl/hal_serial.py @@ -112,11 +112,11 @@ class PizzaHAL: """ Returns the status of the HELO1 pin """ - return bool(self.helo1.value) + return bool(self.pin_helo1.value) @helo1.setter def helo1(self, value: bool): - self.helo1.value = 1 if value else 0 + self.pin_helo1.value = 1 if value else 0 @property def helo2(self) -> bool: