Commit b07e6c6c authored by Jacob Priddy's avatar Jacob Priddy 👌
Browse files

Allow codes to be entered in open mode when door is open

parent 5273c7f3
Pipeline #12549 passed with stages
in 1 minute and 7 seconds
......@@ -46,7 +46,7 @@ void door_state_task(void* parameters)
if (door_rtos_queue_receive(key_queue, &c, KEYPAD_CLEAR_TIME_MS))
// If we are in unlocked mode, just open the door and carry on.
if (door_rtos_event_get(DOOR_OPEN_MODE_EVENT))
if (door_rtos_event_get(DOOR_OPEN_MODE_EVENT) && !door_rtos_event_get(DOOR_LATCH_EVENT))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment