Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
osie
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
Martin Manchev
osie
Commits
7bc3a7a7
Commit
7bc3a7a7
authored
Jun 02, 2022
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No need to set mode if it's already set.
parent
cda6c0db
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
9 deletions
+11
-9
coupler/opc-ua-server/keep_alive.h
coupler/opc-ua-server/keep_alive.h
+11
-9
No files found.
coupler/opc-ua-server/keep_alive.h
View file @
7bc3a7a7
...
...
@@ -31,6 +31,7 @@ void gotoSafeMode() {
* In this mode coupler will shutdown all
* relays of attached I2C slaves
*/
if
(
!
I2C_VIRTUAL_MODE
)
{
UA_LOG_INFO
(
UA_Log_Stdout
,
\
UA_LOGCATEGORY_USERLAND
,
\
"Go to SAFE MODE"
);
...
...
@@ -40,6 +41,7 @@ void gotoSafeMode() {
// set to virtual mode which means that coupler will mimic working but
// not set any related relays' state
I2C_VIRTUAL_MODE
=
1
;
}
}
...
...
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