Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
C
Controller
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Guardians of the Kretschmar Elock System
Controller
Commits
b07e6c6c
Commit
b07e6c6c
authored
Aug 13, 2020
by
Jacob Priddy
👌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
main/src/app/state.c
main/src/app/state.c
+1
-1
No files found.
main/src/app/state.c
View file @
b07e6c6c
...
...
@@ -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
)
)
{
door_lock_open
();
continue
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment