Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
Mock Turtle
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Mock Turtle
Commits
fc06f333
Commit
fc06f333
authored
Nov 28, 2014
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrtd: fix comment
Signed-off-by:
Federico Vaga
<
federico.vaga@gmail.com
>
parent
1b9789e9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
libwrtd-common.c
applications/wrtd/lib/libwrtd-common.c
+5
-4
libwrtd-output.c
applications/wrtd/lib/libwrtd-output.c
+2
-1
No files found.
applications/wrtd/lib/libwrtd-common.c
View file @
fc06f333
...
...
@@ -30,7 +30,7 @@ const char *wrtd_errors[] = {
/**
* It returns a string messages corresponding to a given error code. If
* it is not a libwrtd error code, it will run
strerror(3
)
* it is not a libwrtd error code, it will run
wrnc_strerror(
)
* @param[in] err error code
* @return a message error
*/
...
...
@@ -67,7 +67,7 @@ int wrtd_init()
/**
* It releases the resources allocated by wrtd_init(). It must be called when
* you stop to use this library. Then, you cannot use functions from this
* library
* library
.
*/
void
wrtd_exit
()
{
...
...
@@ -76,7 +76,7 @@ void wrtd_exit()
/**
* Open a WRTD node device using
LUN
* Open a WRTD node device using
FMC ID
* @param[in] device_id FMC device identificator
* @return It returns an anonymous wrtd_node structure on success.
* On error, NULL is returned, and errno is set appropriately.
...
...
@@ -144,7 +144,8 @@ void wrtd_close(struct wrtd_node *dev)
/**
* It returns the WRNC token
* It returns the WRNC token in order to allows users to run
* functions from the WRNC library
* @param[in] dev device token
* @return the WRNC token
*/
...
...
applications/wrtd/lib/libwrtd-output.c
View file @
fc06f333
...
...
@@ -206,11 +206,12 @@ extern int wrtd_out_enable(struct wrtd_node *dev, unsigned int output,
/**
* It assign a trigger to an output channel
* @param[in] dev pointer to open node device.
* @param[in] output index (0-based) of output channel
* @param[out] handle
* @param[in] trig trigger id to assign
* @param[in] condition
* @param[in] condition
trigger id to assign to the condition
* @return 0 on success, -1 on error and errno is set appropriately
*/
extern
int
wrtd_out_trig_assign
(
struct
wrtd_node
*
dev
,
int
output
,
...
...
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