Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
madonius
firmware
Commits
7b8e4ae4
Verified
Commit
7b8e4ae4
authored
5 years ago
by
rahix
Browse files
Options
Downloads
Patches
Plain Diff
docs: Document EBUSY on stream API functions
Signed-off-by:
Rahix
<
rahix@rahix.de
>
parent
cebdade6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
epicardium/epicardium.h
+1
-0
1 addition, 0 deletions
epicardium/epicardium.h
epicardium/modules/stream.h
+2
-0
2 additions, 0 deletions
epicardium/modules/stream.h
with
3 additions
and
0 deletions
epicardium/epicardium.h
+
1
−
0
View file @
7b8e4ae4
...
...
@@ -92,6 +92,7 @@ API(API_LEDS_SET, void epic_leds_set(int led, uint8_t r, uint8_t g, uint8_t b));
* - ``-ENODEV``: Sensor is not currently available.
* - ``-EBADF``: The given sensor descriptor is unknown.
* - ``-EINVAL``: ``count`` is not a multiple of the sensor's sample size.
* - ``-EBUSY``: The descriptor table lock could not be acquired.
*
* **Example**:
*
...
...
This diff is collapsed.
Click to expand it.
epicardium/modules/stream.h
+
2
−
0
View file @
7b8e4ae4
...
...
@@ -60,6 +60,7 @@ struct stream_info {
*
* - ``-EINVAL``: Out of range sensor descriptor.
* - ``-EACCES``: Stream already registered.
* - ``-EBUSY``: The descriptor lock could not be acquired.
*/
int
stream_register
(
int
sd
,
struct
stream_info
*
stream
);
...
...
@@ -74,6 +75,7 @@ int stream_register(int sd, struct stream_info *stream);
*
* - ``-EINVAL``: Out of range sensor descriptor.
* - ``-EACCES``: Stream ``stream`` was not registered for ``sd``.
* - ``-EBUSY``: The descriptor lock could not be acquired.
*/
int
stream_deregister
(
int
sd
,
struct
stream_info
*
stream
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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