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
1
Merge Requests
1
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
nexedi
osie
Commits
01f15886
Commit
01f15886
authored
Apr 15, 2024
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typos and cosmetics.
parent
08ad914a
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
17 deletions
+15
-17
coupler/common.h
coupler/common.h
+1
-1
coupler/keep_alive.h
coupler/keep_alive.h
+0
-1
coupler/keep_alive_subscriber.h
coupler/keep_alive_subscriber.h
+7
-8
coupler/mod_io_i2c.h
coupler/mod_io_i2c.h
+6
-6
coupler/mod_io_opc_ua.h
coupler/mod_io_opc_ua.h
+1
-1
No files found.
coupler/common.h
View file @
01f15886
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
unsigned
long
int
getMilliSecondsSinceEpoch
()
{
unsigned
long
int
getMilliSecondsSinceEpoch
()
{
/*
/*
* Return milli
seconds since epoch.
* Return milliseconds since epoch.
*/
*/
struct
timeval
current_time
;
struct
timeval
current_time
;
gettimeofday
(
&
current_time
,
NULL
);
gettimeofday
(
&
current_time
,
NULL
);
...
...
coupler/keep_alive.h
View file @
01f15886
...
@@ -102,5 +102,4 @@ void gotoNormalMode() {
...
@@ -102,5 +102,4 @@ void gotoNormalMode() {
UA_LOGCATEGORY_USERLAND
,
\
UA_LOGCATEGORY_USERLAND
,
\
"Go to NORMAL MODE"
);
"Go to NORMAL MODE"
);
I2C_VIRTUAL_MODE
=
0
;
I2C_VIRTUAL_MODE
=
0
;
}
}
coupler/keep_alive_subscriber.h
View file @
01f15886
...
@@ -80,7 +80,6 @@ static void dataChangeNotificationCallback(UA_Server *server, UA_UInt32 monitore
...
@@ -80,7 +80,6 @@ static void dataChangeNotificationCallback(UA_Server *server, UA_UInt32 monitore
// set GPIO so we can monitor using logical analyzer the work of
// set GPIO so we can monitor using logical analyzer the work of
// keep-alive network system
// keep-alive network system
if
(
CURRENT_GPIO_MODE
==
1
)
setGPIO
();
if
(
CURRENT_GPIO_MODE
==
1
)
setGPIO
();
}
}
}
}
}
}
...
...
coupler/mod_io_i2c.h
View file @
01f15886
coupler/mod_io_opc_ua.h
View file @
01f15886
...
@@ -96,7 +96,7 @@ static void addVariable(UA_Server *server)
...
@@ -96,7 +96,7 @@ static void addVariable(UA_Server *server)
/*
/*
* Create all variables representing MOD-IO's relays
* Create all variables representing MOD-IO's relays
*/
*/
int
i
,
n
;
;
int
i
,
n
;
int
length
=
getI2CSlaveListLength
();
int
length
=
getI2CSlaveListLength
();
char
*
node_id
=
malloc
(
sizeof
(
char
)
*
10
);
char
*
node_id
=
malloc
(
sizeof
(
char
)
*
10
);
char
*
node_title
=
malloc
(
sizeof
(
char
)
*
30
);
char
*
node_title
=
malloc
(
sizeof
(
char
)
*
30
);
...
...
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