Adding returns
I guess whitespace was needed?
This commit is contained in:
parent
75798d4da2
commit
0d9e5912cf
2 changed files with 2 additions and 2 deletions
|
|
@ -366,4 +366,4 @@ while True:
|
||||||
log("Raise")
|
log("Raise")
|
||||||
if switch.rose:
|
if switch.rose:
|
||||||
servo.throttle = 0.0
|
servo.throttle = 0.0
|
||||||
state = WAITING_STATE
|
state = WAITING_STATE
|
||||||
|
|
|
||||||
|
|
@ -89,4 +89,4 @@ class Debouncer(object):
|
||||||
@property
|
@property
|
||||||
def fell(self):
|
def fell(self):
|
||||||
"""Return whether the debounced input went from high to low at the most recent update."""
|
"""Return whether the debounced input went from high to low at the most recent update."""
|
||||||
return (not self.__get_state(self.DEBOUNCED_STATE)) and self.__get_state(self.CHANGED_STATE)
|
return (not self.__get_state(self.DEBOUNCED_STATE)) and self.__get_state(self.CHANGED_STATE)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue