From 321f907241332dcdb41404be1966cb885ac276d3 Mon Sep 17 00:00:00 2001 From: jpunkt Date: Tue, 25 Jan 2022 20:20:03 +0100 Subject: [PATCH] fixed bug in helo1 property --- pizzactrl/hal_serial.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: