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
Nikola Balog
osie
Commits
f20868bb
Commit
f20868bb
authored
Feb 20, 2023
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
In current implementation (OPa UA information model awaise)
we support only two I2C slaves thus be consistent here, too.
parent
e98ff7b7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
coupler/keep_alive.h
coupler/keep_alive.h
+3
-3
No files found.
coupler/keep_alive.h
View file @
f20868bb
...
@@ -25,9 +25,9 @@ static int HEART_BEAT_INTERVAL = DEFAULT_HEART_BEAT_INTERVAL;
...
@@ -25,9 +25,9 @@ static int HEART_BEAT_INTERVAL = DEFAULT_HEART_BEAT_INTERVAL;
const
int
DEFAULT_HEART_BEAT_TIMEOUT_INTERVAL
=
4
*
DEFAULT_HEART_BEAT_INTERVAL
;
const
int
DEFAULT_HEART_BEAT_TIMEOUT_INTERVAL
=
4
*
DEFAULT_HEART_BEAT_INTERVAL
;
static
int
HEART_BEAT_TIMEOUT_INTERVAL
=
DEFAULT_HEART_BEAT_TIMEOUT_INTERVAL
;
static
int
HEART_BEAT_TIMEOUT_INTERVAL
=
DEFAULT_HEART_BEAT_TIMEOUT_INTERVAL
;
// the list of couplers onto which we depend for properly running
$
// the list of couplers onto which we depend for properly running
// XXX: assume ONLY
8 couplers
!
// XXX: assume ONLY
2 couplers as this is what we expose in OPA UA model anyway
!
unsigned
int
HEART_BEAT_ID_LIST
[]
=
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
};
unsigned
int
HEART_BEAT_ID_LIST
[]
=
{
0
,
0
};
// the interval for publishing messages$
// the interval for publishing messages$
static
int
PUBLISHING_INTERVAL
=
10
;
static
int
PUBLISHING_INTERVAL
=
10
;
...
...
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