Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
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
Esteban Blanc
proview
Commits
3ddf8306
Commit
3ddf8306
authored
Sep 05, 2006
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sts added
parent
86f20252
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
ssabox/lib/rt/src/os_linux/rt_io_bfbeth.c
ssabox/lib/rt/src/os_linux/rt_io_bfbeth.c
+5
-3
ssabox/lib/rt/src/os_linux/rt_io_bfbeth.h
ssabox/lib/rt/src/os_linux/rt_io_bfbeth.h
+2
-1
No files found.
ssabox/lib/rt/src/os_linux/rt_io_bfbeth.c
View file @
3ddf8306
...
...
@@ -26,13 +26,15 @@ void bfbeth_set_write_req(io_sRackLocal *r, pwr_tUInt16 address, pwr_tUInt16 dat
return
;
}
pwr_tUInt16
bfbeth_get_data
(
io_sRackLocal
*
r
,
pwr_tUInt16
address
)
{
pwr_tUInt16
bfbeth_get_data
(
io_sRackLocal
*
r
,
pwr_tUInt16
address
,
int
*
sts
)
{
int
i
;
*
sts
=
-
1
;
for
(
i
=
0
;
i
<
350
;
i
++
)
{
if
(
r
->
read_area
.
item
[
i
].
address
==
address
)
if
(
r
->
read_area
.
item
[
i
].
address
==
address
)
{
*
sts
=
1
;
return
(
r
->
read_area
.
item
[
i
].
data
);
}
}
return
0
;
}
ssabox/lib/rt/src/os_linux/rt_io_bfbeth.h
View file @
3ddf8306
...
...
@@ -6,4 +6,5 @@ void bfbeth_set_write_req( io_sRackLocal *r,
pwr_tUInt16
data
);
pwr_tUInt16
bfbeth_get_data
(
io_sRackLocal
*
r
,
pwr_tUInt16
address
);
pwr_tUInt16
address
,
int
*
sts
);
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