Adding returns

I guess whitespace was needed?
This commit is contained in:
Noe Ruiz 2018-12-29 11:02:31 -05:00
parent 75798d4da2
commit 0d9e5912cf
2 changed files with 2 additions and 2 deletions

View file

@ -366,4 +366,4 @@ while True:
log("Raise")
if switch.rose:
servo.throttle = 0.0
state = WAITING_STATE
state = WAITING_STATE

View file

@ -89,4 +89,4 @@ class Debouncer(object):
@property
def fell(self):
"""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)