Remove mistaken timeout reset on entering any state
This commit is contained in:
parent
c140bcddbf
commit
76dd26a1bc
1 changed files with 0 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue