fixed bug in helo1 property
This commit is contained in:
parent
4ec100913d
commit
321f907241
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue