Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EtherBone Core
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
EtherBone Core
Commits
6d2797f3
Commit
6d2797f3
authored
13 years ago
by
Wesley W. Terpstra
Browse files
Options
Downloads
Patches
Plain Diff
As this code performs intermediate blocking operations, ... flush ourselves.
parent
02952c8a
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
api/glue/sdwb.c
+3
-0
3 additions, 0 deletions
api/glue/sdwb.c
with
3 additions
and
0 deletions
api/glue/sdwb.c
+
3
−
0
View file @
6d2797f3
...
...
@@ -327,6 +327,7 @@ static void eb_sdwb_got_header(eb_user_data_t mydata, eb_operation_t ops, eb_sta
eb_cycle_read
(
cycle
,
address
,
EB_DATAX
,
0
);
eb_cycle_close
(
cycle
);
eb_device_flush
(
device
);
}
static
void
eb_sdwb_got_header_ptr
(
eb_user_data_t
mydata
,
eb_operation_t
ops
,
eb_status_t
status
)
{
...
...
@@ -376,6 +377,7 @@ static void eb_sdwb_got_header_ptr(eb_user_data_t mydata, eb_operation_t ops, eb
eb_cycle_read
(
cycle
,
header_address
,
EB_DATAX
,
0
);
eb_cycle_close
(
cycle
);
eb_device_flush
(
device
);
}
eb_status_t
eb_sdwb_scan
(
eb_device_t
device
,
eb_user_data_t
data
,
sdwb_callback_t
cb
)
{
...
...
@@ -403,5 +405,6 @@ eb_status_t eb_sdwb_scan(eb_device_t device, eb_user_data_t data, sdwb_callback_
eb_cycle_read_config
(
cycle
,
addr
,
EB_DATAX
,
0
);
eb_cycle_close
(
cycle
);
eb_device_flush
(
device
);
return
EB_OK
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment