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
nexedi
osie
Commits
f4f1f65e
Commit
f4f1f65e
authored
Apr 10, 2024
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Plain Diff
Handle callbacks dynamically.
See merge request
!42
parents
00a5d1a4
711fe800
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
68 additions
and
173 deletions
+68
-173
coupler/mod_io_i2c.h
coupler/mod_io_i2c.h
+1
-1
coupler/mod_io_opc_ua.h
coupler/mod_io_opc_ua.h
+67
-172
No files found.
coupler/mod_io_i2c.h
View file @
f4f1f65e
...
@@ -12,7 +12,7 @@ const int DEFAULT_I2C_SLAVE_ADDR = 0x58;
...
@@ -12,7 +12,7 @@ const int DEFAULT_I2C_SLAVE_ADDR = 0x58;
int
I2C_SLAVE_ADDR_LIST
[
127
]
=
{
0
};
int
I2C_SLAVE_ADDR_LIST
[
127
]
=
{
0
};
// the number of physical relays
// the number of physical relays
int
DEFAULT_RELAY_COUNT
=
4
;
const
int
DEFAULT_RELAY_COUNT
=
4
;
// the block device at host machine
// the block device at host machine
static
char
*
DEFAULT_I2C_BLOCK_DEVICE_NAME
=
"/dev/i2c-1"
;
static
char
*
DEFAULT_I2C_BLOCK_DEVICE_NAME
=
"/dev/i2c-1"
;
...
...
coupler/mod_io_opc_ua.h
View file @
f4f1f65e
This diff is collapsed.
Click to expand it.
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