Remove mistaken timeout reset on entering any state

This commit is contained in:
Dave Astels 2018-10-16 12:06:29 -04:00
parent c140bcddbf
commit 76dd26a1bc

View file

@ -144,7 +144,6 @@ def enter_state(state):
global current_state, timeout_time, update_time global current_state, timeout_time, update_time
# print("Entering state {0}".format(state)) # print("Entering state {0}".format(state))
current_state = state current_state = state
reset_timeout()
if state == ARMED_STATE: if state == ARMED_STATE:
timeout_time = 0 timeout_time = 0