fixed bug in helo1 property

This commit is contained in:
jpunkt 2022-01-25 20:20:03 +01:00
parent 4ec100913d
commit 321f907241

View file

@ -112,11 +112,11 @@ class PizzaHAL:
""" """
Returns the status of the HELO1 pin Returns the status of the HELO1 pin
""" """
return bool(self.helo1.value) return bool(self.pin_helo1.value)
@helo1.setter @helo1.setter
def helo1(self, value: bool): def helo1(self, value: bool):
self.helo1.value = 1 if value else 0 self.pin_helo1.value = 1 if value else 0
@property @property
def helo2(self) -> bool: def helo2(self) -> bool: